aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-08 09:33:05 +0800
committerkris <kris@FreeBSD.org>2002-09-08 09:33:05 +0800
commit8c7c32a63c896961b34ebfc7ae26c22541e821a5 (patch)
tree2dd59c9fd65307bfc3d348a880634968eedbf338 /games
parent6bf4cc1a2e279bb468ef5ac955d46eb1cf32c9f7 (diff)
downloadfreebsd-ports-gnome-8c7c32a63c896961b34ebfc7ae26c22541e821a5.tar.gz
freebsd-ports-gnome-8c7c32a63c896961b34ebfc7ae26c22541e821a5.tar.zst
freebsd-ports-gnome-8c7c32a63c896961b34ebfc7ae26c22541e821a5.zip
Fix build in -current (machine/soundcard.h -> sys/soundcard.h) and respect
CC
Diffstat (limited to 'games')
-rw-r--r--games/rocksndiamonds/files/patch-aa15
-rw-r--r--games/rocksndiamonds/files/patch-ad14
2 files changed, 18 insertions, 11 deletions
diff --git a/games/rocksndiamonds/files/patch-aa b/games/rocksndiamonds/files/patch-aa
index ccd82db81b76..e5ca2a64d7c5 100644
--- a/games/rocksndiamonds/files/patch-aa
+++ b/games/rocksndiamonds/files/patch-aa
@@ -1,6 +1,11 @@
---- Makefile.orig Wed Oct 27 02:07:38 1999
-+++ Makefile Wed Jan 5 22:29:39 2000
-@@ -18,7 +18,7 @@
+--- Makefile.orig Mon Mar 18 17:44:18 2002
++++ Makefile Sat Sep 7 17:32:58 2002
+@@ -8,11 +8,11 @@
+ #-----------------------------------------------------------------------------#
+
+ # specify your favorite ANSI C compiler
+-CC = gcc
++CC ?= cc
# specify path to X11 on your system
# if undefined, use system defaults (works with Linux/gcc/libc5)
@@ -9,7 +14,7 @@
# specify directory for read-only game data (like graphics, sounds, levels)
# default is '.', so you can play without installing game data somewhere
-@@ -46,8 +46,6 @@
+@@ -41,8 +41,6 @@
#-----------------------------------------------------------------------------#
.EXPORT_ALL_VARIABLES:
@@ -17,4 +22,4 @@
-MAKE = make
SRC_DIR = src
- MAKE_CMD = @$(MAKE) -C $(SRC_DIR)
+ MAKE_CMD = $(MAKE) -C $(SRC_DIR)
diff --git a/games/rocksndiamonds/files/patch-ad b/games/rocksndiamonds/files/patch-ad
index 8670ea37470a..ce8ea574a36d 100644
--- a/games/rocksndiamonds/files/patch-ad
+++ b/games/rocksndiamonds/files/patch-ad
@@ -1,11 +1,13 @@
---- src/libgame/sound.h.orig Sat Dec 16 23:07:58 2000
-+++ src/libgame/sound.h Tue Jan 30 09:48:31 2001
-@@ -24,7 +24,7 @@
+--- ./src/libgame/sound.h.orig Fri Mar 15 11:07:46 2002
++++ ./src/libgame/sound.h Sat Sep 7 17:31:52 2002
+@@ -24,8 +24,8 @@
#if defined(PLATFORM_LINUX)
#include <linux/soundcard.h>
-#elif defined(PLATFORM_FREEBSD)
+-#include <machine/soundcard.h>
+#elif defined(PLATFORM_FREEBSD) && !defined(NO_SOUNDS)
- #include <machine/soundcard.h>
- #elif defined(PLATFORM_HPUX)
- #include <sys/audio.h>
++#include <sys/soundcard.h>
+ #elif defined(PLATFORM_NETBSD)
+ #include <sys/ioctl.h>
+ #include <sys/audioio.h>