freebsd-ports/games/xbomb/files/patch-hiscore.c
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

13 lines
674 B
C

--- hiscore.c.orig Fri Jan 16 20:50:39 1998
+++ hiscore.c Fri Feb 20 10:23:20 1998
@@ -47,7 +47,9 @@
nbombs[NLEVELS]; /*+ number of bombs. +*/
/*+ The names of the high score tables. +*/
-static char *filenames[NTYPES]={"/var/tmp/xbomb6.hi","/var/tmp/xbomb4.hi","/var/tmp/xbomb3.hi"};
+static char *filenames[NTYPES]={LOCALBASE"/lib/X11/xbomb/xbomb6.hi",
+ LOCALBASE"/lib/X11/xbomb/xbomb4.hi",
+ LOCALBASE"/lib/X11/xbomb/xbomb3.hi"};
/*+ The names of the positions in the high score tables. +*/
static char pos[11][5]={"Top","2nd","3rd","4th","5th","6th","7th","8th","9th","10th","Lost"};