aboutsummaryrefslogtreecommitdiffstats
path: root/games/xboing/files
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-03-06 16:13:37 +0800
committerswallace <swallace@FreeBSD.org>1995-03-06 16:13:37 +0800
commit01c4135abce5a9427420c4ffedeec12a1966d4c8 (patch)
treef39f736f0d33fcf49dc7eb445f7fc7e94733f83c /games/xboing/files
parent3415595d6e6c7046610659e89138cbede5af9c68 (diff)
downloadfreebsd-ports-gnome-01c4135abce5a9427420c4ffedeec12a1966d4c8.tar.gz
freebsd-ports-gnome-01c4135abce5a9427420c4ffedeec12a1966d4c8.tar.zst
freebsd-ports-gnome-01c4135abce5a9427420c4ffedeec12a1966d4c8.zip
Added sound support.
Diffstat (limited to 'games/xboing/files')
-rw-r--r--games/xboing/files/patch-aa51
-rw-r--r--games/xboing/files/patch-ab19
-rw-r--r--games/xboing/files/patch-ac64
3 files changed, 83 insertions, 51 deletions
diff --git a/games/xboing/files/patch-aa b/games/xboing/files/patch-aa
index cc8f8f89bf4a..44cbd8c75fa4 100644
--- a/games/xboing/files/patch-aa
+++ b/games/xboing/files/patch-aa
@@ -1,54 +1,3 @@
-diff -rc ../xboing2.2.orig/Imakefile ./Imakefile
-*** ../xboing2.2.orig/Imakefile Thu Jun 2 02:11:10 1994
---- ./Imakefile Wed Feb 1 00:26:57 1995
-***************
-*** 5,17 ****
- XCOMM This is the directory where the highscore, level & sound data will be
- XCOMM placed. Default will be the current directory.
-
-! XBOING_DIR = .
-
- XCOMM These are some defines that must be set. Some may be overwritten in the
- XCOMM machine arch section.
-
-! XPMLIB = -L../xpm3.4/lib -lXpm
-! XPMINCLUDE = -I../xpm3.4/lib
- XBOINGINCLUDE = -I./include
- LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels
- SOUNDS_DIR = $(XBOING_DIR)/sounds
---- 5,17 ----
- XCOMM This is the directory where the highscore, level & sound data will be
- XCOMM placed. Default will be the current directory.
-
-! XBOING_DIR = /usr/X11R6/lib/X11/xboing
-
- XCOMM These are some defines that must be set. Some may be overwritten in the
- XCOMM machine arch section.
-
-! XPMLIB = -lXpm
-! XPMINCLUDE = -I/usr/X11R6/include/X11
- XBOINGINCLUDE = -I./include
- LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels
- SOUNDS_DIR = $(XBOING_DIR)/sounds
-***************
-*** 98,105 ****
- -DLEVEL_INSTALL_DIR=\"$(LEVEL_INSTALL_DIR)\" \
- -DAUDIO_AVAILABLE=\"$(AUDIO_AVAILABLE)\" \
- -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \
-! -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\"
-! XCOMM -DUSE_FLOCK=\"True\" \
- XCOMM -DNO_LOCKING=\"True\"
-
- LOCAL_LIBRARIES = $(AUDIO_LIB) $(XPMLIB) $(XLIB) -lm
---- 98,105 ----
- -DLEVEL_INSTALL_DIR=\"$(LEVEL_INSTALL_DIR)\" \
- -DAUDIO_AVAILABLE=\"$(AUDIO_AVAILABLE)\" \
- -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \
-! -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" \
-! -DUSE_FLOCK=\"True\"
- XCOMM -DNO_LOCKING=\"True\"
-
- LOCAL_LIBRARIES = $(AUDIO_LIB) $(XPMLIB) $(XLIB) -lm
diff -rc ../xboing2.2.orig/include/misc.h ./include/misc.h
*** ../xboing2.2.orig/include/misc.h Wed May 25 01:32:15 1994
--- ./include/misc.h Wed Feb 1 00:37:19 1995
diff --git a/games/xboing/files/patch-ab b/games/xboing/files/patch-ab
new file mode 100644
index 000000000000..6888bd8d638d
--- /dev/null
+++ b/games/xboing/files/patch-ab
@@ -0,0 +1,19 @@
+*** audio/LINUXaudio.c.orig Tue May 24 16:34:59 1994
+--- audio/LINUXaudio.c Sun Mar 5 23:43:14 1995
+***************
+*** 38,44 ****
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <fcntl.h>
+! #include <linux/soundcard.h>
+
+ #include "include/error.h"
+ #include "include/audio.h"
+--- 38,44 ----
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <fcntl.h>
+! #include <machine/soundcard.h>
+
+ #include "include/error.h"
+ #include "include/audio.h"
diff --git a/games/xboing/files/patch-ac b/games/xboing/files/patch-ac
new file mode 100644
index 000000000000..ff902749ed0c
--- /dev/null
+++ b/games/xboing/files/patch-ac
@@ -0,0 +1,64 @@
+*** Imakefile.orig Wed Jun 1 17:11:10 1994
+--- Imakefile Sun Mar 5 23:43:55 1995
+***************
+*** 5,24 ****
+ XCOMM This is the directory where the highscore, level & sound data will be
+ XCOMM placed. Default will be the current directory.
+
+! XBOING_DIR = .
+
+ XCOMM These are some defines that must be set. Some may be overwritten in the
+ XCOMM machine arch section.
+
+! XPMLIB = -L../xpm3.4/lib -lXpm
+! XPMINCLUDE = -I../xpm3.4/lib
+ XBOINGINCLUDE = -I./include
+ 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
+! AUDIO_SRC = audio/NOaudio.c
+ AUDIO_INCLUDE =
+ AUDIO_LIB =
+
+--- 5,24 ----
+ XCOMM This is the directory where the highscore, level & sound data will be
+ XCOMM placed. Default will be the current directory.
+
+! XBOING_DIR = /usr/X11R6/lib/X11/xboing
+
+ XCOMM These are some defines that must be set. Some may be overwritten in the
+ XCOMM machine arch section.
+
+! XPMLIB = -lXpm
+! XPMINCLUDE = -I/usr/X11R6/include/X11
+ XBOINGINCLUDE = -I./include
+ 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 = True
+! AUDIO_SRC = audio/LINUXaudio.c
+ AUDIO_INCLUDE =
+ AUDIO_LIB =
+
+***************
+*** 98,105 ****
+ -DLEVEL_INSTALL_DIR=\"$(LEVEL_INSTALL_DIR)\" \
+ -DAUDIO_AVAILABLE=\"$(AUDIO_AVAILABLE)\" \
+ -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \
+! -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\"
+! XCOMM -DUSE_FLOCK=\"True\" \
+ XCOMM -DNO_LOCKING=\"True\"
+
+ LOCAL_LIBRARIES = $(AUDIO_LIB) $(XPMLIB) $(XLIB) -lm
+--- 98,105 ----
+ -DLEVEL_INSTALL_DIR=\"$(LEVEL_INSTALL_DIR)\" \
+ -DAUDIO_AVAILABLE=\"$(AUDIO_AVAILABLE)\" \
+ -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \
+! -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" \
+! -DUSE_FLOCK=\"True\"
+ XCOMM -DNO_LOCKING=\"True\"
+
+ LOCAL_LIBRARIES = $(AUDIO_LIB) $(XPMLIB) $(XLIB) -lm