diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-08-18 09:25:16 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-08-18 09:25:16 +0000 |
commit | 1ccea6b8438f9f71f623c8b493e2b26b2b998255 (patch) | |
tree | 0b22c9b21e9b78de92938178f78edc59ec414a3d /games/xboing/patches | |
parent | 2115c1cd87df77e6dbdb42ea54a2753b97706c5a (diff) | |
download | pkgsrc-1ccea6b8438f9f71f623c8b493e2b26b2b998255.tar.gz |
Initial addition of xboing-2.4, a breakout style game for X11.
Closes pr 5984 by Tim Rightnour.
Diffstat (limited to 'games/xboing/patches')
-rw-r--r-- | games/xboing/patches/patch-aa | 48 | ||||
-rw-r--r-- | games/xboing/patches/patch-ab | 10 | ||||
-rw-r--r-- | games/xboing/patches/patch-ac | 10 |
3 files changed, 68 insertions, 0 deletions
diff --git a/games/xboing/patches/patch-aa b/games/xboing/patches/patch-aa new file mode 100644 index 00000000000..f4c3c8bd772 --- /dev/null +++ b/games/xboing/patches/patch-aa @@ -0,0 +1,48 @@ +$NetBSD: patch-aa,v 1.1 1998/08/18 09:25:17 frueauf Exp $ + +--- Imakefile.orig Thu Nov 21 18:28:46 1996 ++++ Imakefile Mon Aug 17 22:46:15 1998 +@@ -26,3 +26,3 @@ + +- XBOING_DIR = . ++ XBOING_DIR = $(X11BASE)/share/xboing + +@@ -31,10 +31,10 @@ + +- XPMLIB = -L/usr/X11/lib -lXpm +- XPMINCLUDE = -I/usr/X11/include/X11 ++ XPMLIB = -L$(X11BASE)/lib -lXpm ++ XPMINCLUDE = -I$(X11BASE)/include/X11 + XBOINGINCLUDE = -I./include +- LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels ++ LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels + SOUNDS_DIR = $(XBOING_DIR)/sounds + BACKUP_DIR = $(XBOING_DIR)/../backups +- HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr +- AUDIO_AVAILABLE = False ++ HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr ++ AUDIO_AVAILABLE = False + AUDIO_SRC = audio/NOaudio.c +@@ -42,3 +42,3 @@ + AUDIO_LIB = +- CDEBUGFLAGS = -g ++ CDEBUGFLAGS = -O + +@@ -83,3 +83,3 @@ + +-#if defined(SparcArchitecture) && defined(COMPILE_IN_AUDIO) ++#if defined(SparcArchitecture) && defined(COMPILE_IN_AUDIO) && !defined(__NetBSD__) + AUDIO_AVAILABLE = True +@@ -134,4 +134,4 @@ + -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \ +- -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" +-XCOMM -DUSE_FLOCK=\"True\" \ ++ -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" \ ++ -DUSE_FLOCK=\"True\" \ + XCOMM -DNEED_USLEEP=\"True\" \ +@@ -207,3 +207,4 @@ + @touch $(HIGH_SCORE_FILE); +- @chmod a+rw $(HIGH_SCORE_FILE); ++ @chown bin:games $(HIGH_SCORE_FILE); ++ @chmod 0664 $(HIGH_SCORE_FILE); + diff --git a/games/xboing/patches/patch-ab b/games/xboing/patches/patch-ab new file mode 100644 index 00000000000..d5d710efef1 --- /dev/null +++ b/games/xboing/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1 1998/08/18 09:25:17 frueauf Exp $ + +--- ball.c.orig Mon Aug 17 22:31:15 1998 ++++ ball.c Mon Aug 17 22:31:34 1998 +@@ -52,3 +52,5 @@ + #include <math.h> ++#ifndef __NetBSD__ + #include <values.h> ++#endif + #include <xpm.h> diff --git a/games/xboing/patches/patch-ac b/games/xboing/patches/patch-ac new file mode 100644 index 00000000000..105908caa04 --- /dev/null +++ b/games/xboing/patches/patch-ac @@ -0,0 +1,10 @@ +$NetBSD: patch-ac,v 1.1 1998/08/18 09:25:18 frueauf Exp $ + +--- highscore.c.orig Thu Nov 21 18:28:46 1996 ++++ highscore.c Mon Aug 17 22:40:49 1998 +@@ -56,2 +56,5 @@ + #include <file.h> ++#ifdef __NetBSD__ ++ #include <sys/file.h> ++#endif + #include <sys/param.h> |