diff options
Diffstat (limited to 'games/gemdropx/files')
-rw-r--r-- | games/gemdropx/files/patch-aa | 33 | ||||
-rw-r--r-- | games/gemdropx/files/patch-ab | 14 |
2 files changed, 29 insertions, 18 deletions
diff --git a/games/gemdropx/files/patch-aa b/games/gemdropx/files/patch-aa index aea0be5db8b0..183ed83f1087 100644 --- a/games/gemdropx/files/patch-aa +++ b/games/gemdropx/files/patch-aa @@ -1,23 +1,20 @@ ---- makefile Thu Jul 30 19:53:32 1998 -+++ /home/andy/tmp/wrk/makefile Mon Aug 10 18:03:04 1998 -@@ -11,14 +11,16 @@ - # X Window Updates: July 29, 1998- July 29, 1998 +--- Makefile.orig Tue Dec 28 17:33:54 1999 ++++ Makefile Thu Mar 30 00:18:17 2000 +@@ -22,7 +22,7 @@ + JOYFLAG=$(JOY)JOYSTICK --CC=gcc -+CC?=gcc -+PREFIX?=/usr/X11R6 -+X11BASE?=/usr/X11R6 +-CFLAGS=-Wall $(SDL_CFLAGS) \ ++CFLAGS+=$(SDL_CFLAGS) \ + -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) -D$(JOYFLAG) + SDL_LIB=$(MIXER) $(SDL_LDFLAGS) --INSTALLROOT= $(PREFIX) -+INSTALLROOT= $(PREFIX)/share/gemdropx - GFX= $(INSTALLROOT)/gfx - SOUNDS= $(INSTALLROOT)/sounds +@@ -30,7 +30,7 @@ + all: gemdropx --XLIB= $(RPATH) -L$(PREFIX)/lib -lX11 -lm --XINC= -I$(PREFIX)/include -+XLIB= $(RPATH) -L$(X11BASE)/lib -lX11 -lm -+XINC= -I$(X11BASE)/include - CFLAGS= $(XINC) -DSOUNDS=\"$(SOUNDS)\" -DGFX=\"$(GFX)\" + nosound: +- make MIXER= NOSOUNDFLAG=NOSOUND JOY=$(JOY) ++ $(MAKE) MIXER= NOSOUNDFLAG=NOSOUND JOY=$(JOY) - all: gemdropx + clean: + -rm gemdropx diff --git a/games/gemdropx/files/patch-ab b/games/gemdropx/files/patch-ab new file mode 100644 index 000000000000..7e58af38b3d0 --- /dev/null +++ b/games/gemdropx/files/patch-ab @@ -0,0 +1,14 @@ +--- gemdropx.c.orig Tue Dec 28 18:54:17 1999 ++++ gemdropx.c Thu Mar 30 00:25:25 2000 +@@ -2231,9 +2231,11 @@ + (JS_VERSION & 0x0000FF)); + #endif + ++#ifndef NOSOUND + SDL_VERSION(&sdlver); + printf("SDL version %d.%d.%d\n\n", sdlver.major, + sdlver.minor, sdlver.patch); ++#endif + + exit(0); + } |