Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18211/games

Modified Files:
        warmux.info warmux.patch 
Log Message:
fix building for libpng16

Index: warmux.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/games/warmux.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- warmux.patch        6 Aug 2011 13:06:04 -0000       1.1
+++ warmux.patch        6 Aug 2013 19:51:56 -0000       1.2
@@ -37,3 +37,13 @@
        Rename(old_dir, personal_data_dir);
    }
  
+--- warmux-11.04/src/graphic/surface.cpp~      2011-04-28 21:03:06.000000000 
+0200
++++ warmux-11.04/src/graphic/surface.cpp       2012-02-11 10:51:27.315018673 
+0100
+@@ -25,6 +25,7 @@
+ #include <SDL_image.h>
+ #include <SDL_rotozoom.h>
+ #include <png.h>
++#include <zlib.h>
+ 
+ #include "graphic/surface.h"
+ #include "tool/math_tools.h"

Index: warmux.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/games/warmux.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- warmux.info 30 Jul 2013 20:25:30 -0000      1.4
+++ warmux.info 6 Aug 2013 19:51:56 -0000       1.5
@@ -1,6 +1,6 @@
 Package: warmux
 Version: 11.04
-Revision: 3
+Revision: 4
 Distribution: 10.7
 Maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net>
 Source: http://download.gna.org/%N/%N-%v.tar.bz2
@@ -11,7 +11,7 @@
        gettext-tools (>= 0.17),
        libcurl4,
        libgettext8-dev,
-       libpng14,
+       libpng16,
        libxml2 (>= 2.7),
        pkgconfig,
        sdl (>= 1.2.13-1),
@@ -25,7 +25,7 @@
        fribidi-shlibs (>= 0.19.2-2),
        libcurl4-shlibs,
        libgettext8-shlibs,
-       libpng14-shlibs,
+       libpng16-shlibs,
        libxml2-shlibs (>= 2.7),
        sdl-shlibs (>= 1.2.13-1),
        sdl-gfx13-shlibs,
@@ -36,7 +36,7 @@
        xdg-base
 <<
 PatchFile: %n.patch
-PatchFile-MD5: 9bbe9aa948200e3dfc79c873579c15a0
+PatchFile-MD5: 667e1d3e2abb1f0e0c3870eebd6f0480
 PatchScript: <<
        %{default_script}
        ### --as-needed added at the 0.8.5 release.  Does not exist on OS X
@@ -78,6 +78,9 @@
 <<
 DescPort: <<
 We're not an .app, so use standard config file locations.  #if is swallowing 
the file location chunk. Move it outside in patch.
+
+Include zlib.h to prevent "undeclared Z_BEST_COMPRESSION" errors with libpng15 
and up that no longer includes zlib.h from png.h.
+http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/warmux/warmux-libpng15.patch?view=co
 <<
 License: GPL
 Homepage: http://www.wormux.org/


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to