diff options
author | ben <ben@pkgsrc.org> | 2003-12-20 19:52:59 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2003-12-20 19:52:59 +0000 |
commit | 69d13aa27e20c0fb35df071764ddbe411c1fd849 (patch) | |
tree | a86912c391dbb30d244ca52ce7272259b8fff4ce /games/iso-pernangband | |
parent | 331555c4540848be8a36dcc58341c53b59dd2c3d (diff) | |
download | pkgsrc-69d13aa27e20c0fb35df071764ddbe411c1fd849.tar.gz |
Make iso-pernangband build with gcc3.
Diffstat (limited to 'games/iso-pernangband')
-rw-r--r-- | games/iso-pernangband/distinfo | 5 | ||||
-rw-r--r-- | games/iso-pernangband/patches/patch-aa | 15 | ||||
-rw-r--r-- | games/iso-pernangband/patches/patch-af | 31 |
3 files changed, 46 insertions, 5 deletions
diff --git a/games/iso-pernangband/distinfo b/games/iso-pernangband/distinfo index 80c9b13db72..02470fc0916 100644 --- a/games/iso-pernangband/distinfo +++ b/games/iso-pernangband/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.3 2002/06/28 16:03:02 agc Exp $ +$NetBSD: distinfo,v 1.4 2003/12/20 19:52:59 ben Exp $ SHA1 (iso-pern_src-0_2_6.tar.gz) = f71a815e4942dbf59dc6611abf5b538c8a8d1519 Size (iso-pern_src-0_2_6.tar.gz) = 2432783 bytes -SHA1 (patch-aa) = d4f09c254e71e1395e8f0968d7bc6478ad3f976c +SHA1 (patch-aa) = 0839d55b5ccb9b200c804a1e2d89cb7bd09c6964 SHA1 (patch-ab) = 38c59b5dc94995e14d41efaf18913245095d681c SHA1 (patch-ac) = dcb200fafe4d5bcb33a5d4f79611a0c06fdcbd6d SHA1 (patch-ad) = 8b61fe17be89749f762b53ce4a59bdcbd7fb1b95 SHA1 (patch-ae) = 432986b90f9caad12d09213e8609b345490b7cf8 +SHA1 (patch-af) = 2d1d616cf391eb3ed8d2f3e19ec1b494eb7af8d9 diff --git a/games/iso-pernangband/patches/patch-aa b/games/iso-pernangband/patches/patch-aa index 0cb5bcc26ca..ba0d8cf9e06 100644 --- a/games/iso-pernangband/patches/patch-aa +++ b/games/iso-pernangband/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2001/10/21 17:10:14 hubertf Exp $ +$NetBSD: patch-aa,v 1.3 2003/12/20 19:52:59 ben Exp $ ---- Makefile.orig Sun May 20 07:01:06 2001 +--- Makefile.orig 2001-05-20 07:01:06.000000000 -0700 +++ Makefile -@@ -132,14 +132,14 @@ +@@ -132,14 +132,14 @@ CXX = g++ ## Variation -- Only support "main-x11.c" (not "main-gcu.c") ## # CFLAGS = -Wall -O1 -pipe -g -D"USE_ISOV_X11" -D"USE_TRANSPARENCY" @@ -20,3 +20,12 @@ $NetBSD: patch-aa,v 1.2 2001/10/21 17:10:14 hubertf Exp $ ## +@@ -242,7 +242,7 @@ install: testing + # + + testing: $(OBJS) +- $(CC) $(CFLAGS) -o testing $(OBJS) $(LDFLAGS) $(LIBS) ++ $(CXX) $(CFLAGS) -o testing $(OBJS) $(LDFLAGS) $(LIBS) + + + # diff --git a/games/iso-pernangband/patches/patch-af b/games/iso-pernangband/patches/patch-af new file mode 100644 index 00000000000..271bf72a2d1 --- /dev/null +++ b/games/iso-pernangband/patches/patch-af @@ -0,0 +1,31 @@ +$NetBSD: patch-af,v 1.1 2003/12/20 19:52:59 ben Exp $ + +--- h-system.h.orig 2001-05-20 07:01:06.000000000 -0700 ++++ h-system.h +@@ -106,15 +106,6 @@ + # include <string.h> + #else + # include <strings.h> +-# ifndef strstr +-extern char *strstr(); +-# endif +-# ifndef strchr +-extern char *strchr(); +-# endif +-# ifndef strrchr +-extern char *strrchr(); +-# endif + #endif + + #else +@@ -125,10 +116,6 @@ extern char *strrchr(); + + + +-#if !defined(linux) && !defined(__MWERKS__) && !defined(ACORN) +-extern long atol(); +-#endif +- + + #include <stdarg.h> + |