Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games
In directory 
sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28839/unstable/main/finkinfo/games

Modified Files:
        nethack.info nethack.patch 
Log Message:
Fix compilation errors in nethack

Index: nethack.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/nethack.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- nethack.info        9 Apr 2009 02:04:50 -0000       1.7
+++ nethack.info        6 May 2010 00:50:29 -0000       1.8
@@ -1,7 +1,7 @@
 Info2: <<
 Package: nethack%type_pkg[-x11]%type_pkg[-gnome]%type_pkg[-qt]
 Version: 3.4.3
-Revision: 1003
+Revision: 1004
 Distribution: (%type_pkg[-gnome]) 10.4, (%type_pkg[-gnome]) 10.5
 Maintainer: Matthias Neeracher <neerac...@mac.com>
 Type: -x11 (boolean), -gnome (boolean), -qt (boolean)
@@ -30,7 +30,7 @@
 Source-MD5: 21479c95990eefe7650df582426457f9
 SourceDirectory: %{Ni}-%v
 PatchFile: %{Ni}.patch
-PatchFile-MD5: a50addec835b5a6c9678ffe96c707a55
+PatchFile-MD5: 8084f2ba097c4258043edf2bc7dee28e
 PatchScript: <<
 #!/bin/bash -ev
 sed 's:@PREFIX@:%p:g' < %{PatchFile} | patch -p1

Index: nethack.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/nethack.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- nethack.patch       9 Apr 2009 02:04:50 -0000       1.3
+++ nethack.patch       6 May 2010 00:50:29 -0000       1.4
@@ -26,6 +26,15 @@
  # ifdef random
  # undef random
  # endif
+@@ -473,7 +473,7 @@
+ #ifndef __SASC_60
+ #ifdef NEED_VARARGS
+ # if defined(USE_STDARG) || defined(USE_VARARGS)
+-#  if !defined(SVR4) && !defined(apollo)
++#  if !defined(SVR4) && !defined(apollo) && !defined(__APPLE__)
+ #   if !(defined(ULTRIX_PROTO) && defined(__GNUC__))
+ #    if !(defined(SUNOS4) && defined(__STDC__)) /* Solaris unbundled cc (acc) 
*/
+ E int FDECL(vsprintf, (char *, const char *, va_list));
 diff -ru nethack-3.4.3-orig/include/unixconf.h nethack-3.4.3/include/unixconf.h
 --- nethack-3.4.3-orig/include/unixconf.h      2005-12-19 15:34:20.000000000 
-0800
 +++ nethack-3.4.3/include/unixconf.h   2005-12-19 15:34:31.000000000 -0800
@@ -116,7 +125,7 @@
  
 -CFLAGS = -O -I../include
 -LFLAGS = 
-+CFLAGS = -O2 -I../include -DHACKDIR=\"$(HACKDIR)\" -...@prefix@/include 
-I/usr/X11R6/include
++CFLAGS = -Wno-format -O2 -I../include -DHACKDIR=\"$(HACKDIR)\" 
-...@prefix@/include -I/usr/X11R6/include
 +LFLAGS = -...@prefix@/lib -L/usr/X11R6/lib
  
  # The Qt and Be window systems are written in C++, while the rest of


------------------------------------------------------------------------------
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to