summaryrefslogtreecommitdiff
path: root/games/quakeforge
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-07-14 00:17:58 +0000
committerhubertf <hubertf@pkgsrc.org>2004-07-14 00:17:58 +0000
commitd231f7af8bea7337d8e9ca35570763c38195fb91 (patch)
treed0da472f36557b5528ab40814242d311d53da15d /games/quakeforge
parent3fba5eaf4db4d4d58b9ab47dd20c4eab10dc5016 (diff)
downloadpkgsrc-d231f7af8bea7337d8e9ca35570763c38195fb91.tar.gz
Add a bunch of patches to make this build on 2.0.
I have no idea why make/gmake/? passes the Makefile's "GZIP" variable in the environment, which makes gzip(1) freak out.
Diffstat (limited to 'games/quakeforge')
-rw-r--r--games/quakeforge/distinfo6
-rw-r--r--games/quakeforge/patches/patch-ac22
-rw-r--r--games/quakeforge/patches/patch-ad22
-rw-r--r--games/quakeforge/patches/patch-ae22
-rw-r--r--games/quakeforge/patches/patch-af22
5 files changed, 93 insertions, 1 deletions
diff --git a/games/quakeforge/distinfo b/games/quakeforge/distinfo
index 9a5adb8188d..71572612b7b 100644
--- a/games/quakeforge/distinfo
+++ b/games/quakeforge/distinfo
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+$NetBSD: distinfo,v 1.2 2004/07/14 00:17:58 hubertf Exp $
SHA1 (quakeforge-0.5.4.tar.gz) = 9ba39f486f4faee5e7885631ffa8c5f9c512137d
Size (quakeforge-0.5.4.tar.gz) = 2391110 bytes
SHA1 (patch-aa) = d54d4784c5832a00382946d78929cf618696b898
SHA1 (patch-ab) = 0f6dd69d54e634834ed5144053199a01cc1cc0fc
+SHA1 (patch-ac) = 0c1a0daaa3d6af7689ec5f1af647fdf86f9cff15
+SHA1 (patch-ad) = 7112813b9ed50d76a833b36ddb39603d08a3a4c8
+SHA1 (patch-ae) = f0b977daa9698777fb2d8f5aa1f447f3d15ac81b
+SHA1 (patch-af) = 0f5cbccdf99424aec33afa84ebdb6c9b597d07e8
diff --git a/games/quakeforge/patches/patch-ac b/games/quakeforge/patches/patch-ac
new file mode 100644
index 00000000000..f9cc4c5c747
--- /dev/null
+++ b/games/quakeforge/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2004/07/14 00:17:58 hubertf Exp $
+
+--- ruamoko/cl_menu/Makefile.am.orig 2003-06-04 22:32:10.000000000 +0200
++++ ruamoko/cl_menu/Makefile.am
+@@ -9,7 +9,7 @@ QFCC_DEP=$(top_builddir)/tools/qfcc/sour
+ QFCC=$(QFCC_DEP)
+ QCFLAGS=-qq -g -Werror
+ QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include -I$(top_builddir)/include -I$(top_srcdir)/include
+-GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
++XGZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
+ if HAVE_ZLIB
+ GZ=.gz
+ else
+@@ -44,7 +44,7 @@ menu_obj=$(addsuffix .qfo,$(basename $(m
+
+ menu.dat$(GZ): $(menu_obj) $(QFCC_DEP) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
+ $(QFCC) $(QCFLAGS) -p $(STRIP) -o menu.dat $(menu_obj) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
+- $(GZIP)
++ $(XGZIP)
+
+ EXTRA_DIST= $(menu_src) \
+ Frame.h HUD.h \
diff --git a/games/quakeforge/patches/patch-ad b/games/quakeforge/patches/patch-ad
new file mode 100644
index 00000000000..50e5c61a19e
--- /dev/null
+++ b/games/quakeforge/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2004/07/14 00:17:58 hubertf Exp $
+
+--- ruamoko/cl_menu/Makefile.in.orig 2003-07-18 04:25:13.000000000 +0200
++++ ruamoko/cl_menu/Makefile.in
+@@ -332,7 +332,7 @@ QFCC_DEP = $(top_builddir)/tools/qfcc/so
+ QFCC = $(QFCC_DEP)
+ QCFLAGS = -qq -g -Werror
+ QCPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include -I$(top_builddir)/include -I$(top_srcdir)/include
+-GZIP = if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
++XGZIP = if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
+ @HAVE_ZLIB_TRUE@GZ = .gz
+ @HAVE_ZLIB_FALSE@GZ =
+
+@@ -537,7 +537,7 @@ uninstall-am: uninstall-info-am uninstal
+
+ menu.dat$(GZ): $(menu_obj) $(QFCC_DEP) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
+ $(QFCC) $(QCFLAGS) -p $(STRIP) -o menu.dat $(menu_obj) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
+- $(GZIP)
++ $(XGZIP)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/games/quakeforge/patches/patch-ae b/games/quakeforge/patches/patch-ae
new file mode 100644
index 00000000000..f5eb5464cd5
--- /dev/null
+++ b/games/quakeforge/patches/patch-ae
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1 2004/07/14 00:17:58 hubertf Exp $
+
+--- ruamoko/game/Makefile.am.orig 2003-02-07 22:46:42.000000000 +0100
++++ ruamoko/game/Makefile.am
+@@ -9,7 +9,7 @@ QFCC_DEP=$(top_builddir)/tools/qfcc/sour
+ QFCC=$(QFCC_DEP)
+ QCFLAGS=-qq -g -Werror
+ QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include
+-GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
++XGZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
+ if HAVE_ZLIB
+ GZ=.gz
+ else
+@@ -38,7 +38,7 @@ game_obj=$(addsuffix .qfo,$(basename $(g
+
+ game.dat$(GZ): $(game_obj) ../lib/libr.a
+ $(QFCC) $(QCFLAGS) -p $(STRIP) -o game.dat $(game_obj) ../lib/libr.a
+- $(GZIP)
++ $(XGZIP)
+
+ EXTRA_DIST= $(game_src) Axe.h GameEntity.h tempent.h Weapon.h World.h
+ CLEANFILES= *.dat *.sym *.gz *.qfo
diff --git a/games/quakeforge/patches/patch-af b/games/quakeforge/patches/patch-af
new file mode 100644
index 00000000000..7dabccc2b34
--- /dev/null
+++ b/games/quakeforge/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.1 2004/07/14 00:17:58 hubertf Exp $
+
+--- ruamoko/game/Makefile.in.orig 2003-07-18 04:25:14.000000000 +0200
++++ ruamoko/game/Makefile.in
+@@ -332,7 +332,7 @@ QFCC_DEP = $(top_builddir)/tools/qfcc/so
+ QFCC = $(QFCC_DEP)
+ QCFLAGS = -qq -g -Werror
+ QCPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include
+-GZIP = if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
++XGZIP = if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
+ @HAVE_ZLIB_TRUE@GZ = .gz
+ @HAVE_ZLIB_FALSE@GZ =
+
+@@ -506,7 +506,7 @@ uninstall-am: uninstall-info-am
+
+ game.dat$(GZ): $(game_obj) ../lib/libr.a
+ $(QFCC) $(QCFLAGS) -p $(STRIP) -o game.dat $(game_obj) ../lib/libr.a
+- $(GZIP)
++ $(XGZIP)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: