Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/games In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28839/stable/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/stable/main/finkinfo/games/nethack.info,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- nethack.info 26 Aug 2009 07:14:21 -0000 1.8 +++ nethack.info 6 May 2010 00:50:29 -0000 1.9 @@ -1,9 +1,8 @@ Info2: << Package: nethack%type_pkg[-x11]%type_pkg[-gnome]%type_pkg[-qt] Version: 3.4.3 -Revision: 1002 -#Distribution: (%type_pkg[-gnome]) 10.4, (%type_pkg[-gnome]) 10.5 -Distribution: 10.4, 10.5 +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) BuildDepends: << @@ -31,7 +30,7 @@ Source-MD5: 21479c95990eefe7650df582426457f9 SourceDirectory: %{Ni}-%v PatchFile: %{Ni}.patch -PatchFile-MD5: bd8f44a121e6855ad94aa4c16e8c45af +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/stable/main/finkinfo/games/nethack.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- nethack.patch 15 Jan 2007 03:30:42 -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 = -O -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