Update of /cvsroot/fink/experimental/thesin/finkinfo/test
In directory usw-pr-cvs1:/tmp/cvs-serv16897

Added Files:
        pingus-cvs-02-11-04-1.info pingus-cvs-02-11-04-1.patch 
Log Message:
OH MY GOD it compiles, now to compile it on my Ti and test it

--- NEW FILE: pingus-cvs-02-11-04-1.info ---
Package: pingus-cvs
Version: 02-11-04
Revision: 1
###
GCC: 3.1
###
Depends: libxml2-shlibs, hermes-shlibs, clanlib-shlibs
BuildDepends: libxml2, hermes, clanlib
###
Source: http://www.clanlib.org/download/snapshots/Games/Pingus-CVS-%v.tgz
###
Patch: %f.patch
###
SetCPPFLAGS: -I%p/include
NoSetCPPFLAGS: true
###
ConfigureParams: --with-extra-includes=/usr/X11R6/include 
--with-extra-libs=/usr/X11R6/lib --with-clanGL --mandir=%i/share/man 
--infodir=%p/share/info --libexecdir=%p/lib
###
CompileScript: <<
  #!/bin/sh
  ./autogen.sh
  ./configure %c
  make
<<
DocFiles: ABOUT-NLS AUTHORS BUGS COPYING CREDITS ChangeLog FAQ INSTALL NEWS README 
THANKS TODO
###
Description: Lemmings clone with penguins
DescDetail: <<
Pingus is a free Lemmings clone for any platform supported by ClanLib
(including X11, GGI, and Win32).
<<
###
License: GPL
Maintainer: Justin F. Hallett <[EMAIL PROTECTED]>
Homepage: http://pingus.seul.org/

--- NEW FILE: pingus-cvs-02-11-04-1.patch ---
diff -ruN Pingus-CVS-02-11-04.orig/src/Makefile.am Pingus-CVS-02-11-04/src/Makefile.am
--- Pingus-CVS-02-11-04.orig/src/Makefile.am    2002-11-03 17:00:05.000000000 -0700
+++ Pingus-CVS-02-11-04/src/Makefile.am 2002-11-04 19:39:18.000000000 -0700
@@ -50,7 +50,7 @@
 
 pingus_LDADD = \
         @INTLLIBS@ \
-        @LIBS@     \
+        @LIBS@ -L/usr/X11R6/lib -lGL    \
         \
         caimagemanipulation/libcaimagemanipulation.a \
        editorobjs/libpingus_editorobjs.a \
@@ -145,6 +145,9 @@
 game_session_result.hxx \
 game_time.cxx \
 game_time.hxx \
+getopt.c \
+getopt1.c \
+getopt.h \
[...1498 lines suppressed...]
+  exit (0);
+}
+
+#endif /* TEST */
diff -ruN Pingus-CVS-02-11-04.orig/src/pingus_main.cxx 
Pingus-CVS-02-11-04/src/pingus_main.cxx
--- Pingus-CVS-02-11-04.orig/src/pingus_main.cxx        2002-11-03 16:31:35.000000000 
-0700
+++ Pingus-CVS-02-11-04/src/pingus_main.cxx     2002-11-04 16:44:30.000000000 -0700
@@ -29,7 +29,11 @@
 
 #ifndef WIN32
 #  include <config.h>
-#  include <getopt.h>
+#  if defined(__APPLE__) && defined(__GNUC__)
+#    include "getopt.h"
+#  else
+#    include <getopt.h>
+#  endif /* Darwin */
 #else /* !WIN32 */
 #  include <direct.h>
 #  include "win32/config.h"



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to