summaryrefslogtreecommitdiff
path: root/games/icebreaker/patches
diff options
context:
space:
mode:
authorwiz <wiz>2002-08-30 22:55:59 +0000
committerwiz <wiz>2002-08-30 22:55:59 +0000
commit01cf14d76276bea4d48fe7c60c316a55f3b7df6a (patch)
tree21c82b51e1c1b333d2cb8d007488a4a218fd7b78 /games/icebreaker/patches
parent6eee9eb6b8a6e1ca5a8e1c654b6f55544a949bf6 (diff)
downloadpkgsrc-01cf14d76276bea4d48fe7c60c316a55f3b7df6a.tar.gz
Update to 1.9.7, now with theme support, keyboard support, and some
other changes.
Diffstat (limited to 'games/icebreaker/patches')
-rw-r--r--games/icebreaker/patches/patch-aa58
-rw-r--r--games/icebreaker/patches/patch-ab13
2 files changed, 4 insertions, 67 deletions
diff --git a/games/icebreaker/patches/patch-aa b/games/icebreaker/patches/patch-aa
index e8f3c49c7c0..feaf47265fa 100644
--- a/games/icebreaker/patches/patch-aa
+++ b/games/icebreaker/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2002/03/13 23:25:47 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2002/08/30 22:56:00 wiz Exp $
---- Makefile.orig Mon Jul 30 03:32:36 2001
+--- Makefile.orig Fri Jun 7 05:39:18 2002
+++ Makefile
-@@ -1,9 +1,9 @@
+@@ -1,6 +1,6 @@
-CC=gcc
+CC?=gcc
@@ -10,54 +10,4 @@ $NetBSD: patch-aa,v 1.2 2002/03/13 23:25:47 wiz Exp $
+SDLCONFIG?=sdl-config
ifndef prefix
-- prefix=/usr/local
-+ prefix=${PREFIX}
- #prefix=/usr
- endif
-
-@@ -12,11 +12,11 @@
- endif
-
- ifndef mandir
-- mandir=$(prefix)/share/man
-+ mandir=$(prefix)/man
- endif
-
- ifndef highscoredir
-- highscoredir=/var/local/lib/games
-+ highscoredir=/var/games
- #highscoredir=/var/lib/games
- endif
-
-@@ -30,7 +30,7 @@
- level.c intro.c text.c status.c transition.c hiscore.c dialog.c \
- options.c fullscreen.c
-
--SDL_MIXER=-lSDL_mixer
-+SDL_MIXER=-lSDL_mixer -lsmpeg
- SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER)
- SDL_CFLAGS := $(shell $(SDLCONFIG) --cflags)
- SDL_LDFLAGS := $(shell $(SDLCONFIG) --libs)
-@@ -103,14 +103,14 @@
- sed 's/\$$VERDATE/$(VERDATE)/' > $@
-
- install: all
-- mkdir -p $(prefix)/bin
-- mkdir -p $(prefix)/share/icebreaker
-- mkdir -p $(highscoredir)
-- mkdir -p $(mandir)/man6
--
-- install -m 644 *.wav *.bmp $(prefix)/share/icebreaker
-- install -g games -s -m 2755 icebreaker $(prefix)/bin
-- install -m 644 icebreaker.6 $(mandir)/man6
-+ ${BSD_INSTALL_DATA_DIR} $(prefix)/bin
-+ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/icebreaker
-+ ${BSD_INSTALL_DATA_DIR} $(highscoredir)
-+ ${BSD_INSTALL_DATA_DIR} $(mandir)/man6
-+
-+ ${BSD_INSTALL_DATA} -m 644 *.wav *.bmp $(prefix)/share/icebreaker
-+ ${BSD_INSTALL_DATA} -g games -s -m 2755 icebreaker $(prefix)/bin
-+ ${BSD_INSTALL_MAN} -m 644 icebreaker.6 $(mandir)/man6
- touch $(highscoredir)/icebreaker.scores
- chown games:games $(highscoredir)/icebreaker.scores
- chmod 664 $(highscoredir)/icebreaker.scores
+ prefix=/usr/local
diff --git a/games/icebreaker/patches/patch-ab b/games/icebreaker/patches/patch-ab
deleted file mode 100644
index 824f9c9e536..00000000000
--- a/games/icebreaker/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/03/08 19:19:15 wiz Exp $
-
---- sound.c.orig Fri Jul 27 02:47:59 2001
-+++ sound.c
-@@ -38,7 +38,7 @@
- soundsystemworks=false;
- fprintf(stderr, "Can't start sound subsystem: %s\nContinuing without it.\n", SDL_GetError());
- }
-- else if (Mix_OpenAudio(11025, (Uint16)AUDIO_U8, 2, 256))
-+ else if (Mix_OpenAudio(44100, (Uint16)AUDIO_U8, 2, 256))
- {
- soundsystemworks=false;
- fprintf(stderr, "Can't open audio: %s\nContinuing without it.\n", SDL_GetError());