pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/iso-pernangband Make iso-pernangband build with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/181f1161e7c2
branches:  trunk
changeset: 465093:181f1161e7c2
user:      ben <ben%pkgsrc.org@localhost>
date:      Sat Dec 20 19:52:59 2003 +0000

description:
Make iso-pernangband build with gcc3.

diffstat:

 games/iso-pernangband/distinfo         |   5 +++--
 games/iso-pernangband/patches/patch-aa |  15 ++++++++++++---
 games/iso-pernangband/patches/patch-af |  31 +++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 5 deletions(-)

diffs (79 lines):

diff -r 475201c3db1a -r 181f1161e7c2 games/iso-pernangband/distinfo
--- a/games/iso-pernangband/distinfo    Sat Dec 20 19:44:39 2003 +0000
+++ b/games/iso-pernangband/distinfo    Sat Dec 20 19:52:59 2003 +0000
@@ -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 -r 475201c3db1a -r 181f1161e7c2 games/iso-pernangband/patches/patch-aa
--- a/games/iso-pernangband/patches/patch-aa    Sat Dec 20 19:44:39 2003 +0000
+++ b/games/iso-pernangband/patches/patch-aa    Sat Dec 20 19:52:59 2003 +0000
@@ -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 @@
  
  
  ##
+@@ -242,7 +242,7 @@ install: testing
+ #
+ 
+ testing: $(OBJS)
+-      $(CC) $(CFLAGS) -o testing $(OBJS) $(LDFLAGS) $(LIBS)
++      $(CXX) $(CFLAGS) -o testing $(OBJS) $(LDFLAGS) $(LIBS)
+ 
+ 
+ #
diff -r 475201c3db1a -r 181f1161e7c2 games/iso-pernangband/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/iso-pernangband/patches/patch-af    Sat Dec 20 19:52:59 2003 +0000
@@ -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>
+ 



Home | Main Index | Thread Index | Old Index