pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/cube Make this build with gcc 3.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77608570eec1
branches:  trunk
changeset: 489076:77608570eec1
user:      peter <peter%pkgsrc.org@localhost>
date:      Tue Feb 15 23:31:06 2005 +0000

description:
Make this build with gcc 3.4.

Should fix PR 29383.

diffstat:

 games/cube/distinfo         |   3 ++-
 games/cube/patches/patch-ad |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 3ad80ad2b671 -r 77608570eec1 games/cube/distinfo
--- a/games/cube/distinfo       Tue Feb 15 23:28:58 2005 +0000
+++ b/games/cube/distinfo       Tue Feb 15 23:31:06 2005 +0000
@@ -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 -r 3ad80ad2b671 -r 77608570eec1 games/cube/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/cube/patches/patch-ad       Tue Feb 15 23:31:06 2005 +0000
@@ -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); };



Home | Main Index | Thread Index | Old Index