diff options
author | peter <peter> | 2005-02-15 23:31:06 +0000 |
---|---|---|
committer | peter <peter> | 2005-02-15 23:31:06 +0000 |
commit | 30d4393a7124417af3f7c1c1244a4cb267e878dd (patch) | |
tree | c60c4b6e77e3c149ae9ae0d90ba8ce557f890791 /games | |
parent | e9725e4081007d091184a26959daea09095e1802 (diff) | |
download | pkgsrc-30d4393a7124417af3f7c1c1244a4cb267e878dd.tar.gz |
Make this build with gcc 3.4.
Should fix PR 29383.
Diffstat (limited to 'games')
-rw-r--r-- | games/cube/distinfo | 3 | ||||
-rw-r--r-- | games/cube/patches/patch-ad | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/games/cube/distinfo b/games/cube/distinfo index 32349a5c8ee..2df7794451a 100644 --- a/games/cube/distinfo +++ b/games/cube/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2005/02/15 23:28:58 peter Exp $ +$NetBSD: distinfo,v 1.3 2005/02/15 23:31:06 peter Exp $ SHA1 (cube_2004_05_22.tar.gz) = 029d574149a781e0c39742c12a67fd0f118540e1 Size (cube_2004_05_22.tar.gz) = 22566432 bytes SHA1 (patch-aa) = 9d578618c7846aa30a4923724f80ee32efbbc9aa SHA1 (patch-ab) = d69e2fdae3ea28971720a0a3b3c0059ff35c51ec SHA1 (patch-ac) = 44bad545c1fdaf03198cc11cf3b2a3d0fe4b619d +SHA1 (patch-ad) = 1674b0973edb76d891285b09b94843aa2888d882 diff --git a/games/cube/patches/patch-ad b/games/cube/patches/patch-ad new file mode 100644 index 00000000000..36e0e1c5caf --- /dev/null +++ b/games/cube/patches/patch-ad @@ -0,0 +1,21 @@ +$NetBSD: patch-ad,v 1.3 2005/02/15 23:31:06 peter Exp $ + +--- source/src/tools.h.orig 2004-03-28 21:12:02.000000000 +0200 ++++ source/src/tools.h 2005-02-16 00:42:01.000000000 +0100 +@@ -136,6 +136,8 @@ + void allocnext(int allocsize); + }; + ++pool *gp(); ++ + template <class T> struct vector + { + T *buf; +@@ -259,7 +261,6 @@ + + #define enumerate(ht,t,e,b) loopi(ht->size) for(ht->enumc = ht->table[i]; ht->enumc; ht->enumc = ht->enumc->next) { t e = &ht->enumc->data; b; } + +-pool *gp(); + inline char *newstring(char *s) { return gp()->string(s); }; + inline char *newstring(char *s, int l) { return gp()->string(s, l); }; + inline char *newstringbuf(char *s) { return gp()->stringbuf(s); }; |