]> git.pld-linux.org Git - packages/wesnoth.git/commitdiff
- fixes build with libpng 1.4 auto/th/wesnoth-1_6_5-3
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 11 Feb 2010 12:38:16 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wesnoth-libpng.patch -> 1.1

wesnoth-libpng.patch [new file with mode: 0644]

diff --git a/wesnoth-libpng.patch b/wesnoth-libpng.patch
new file mode 100644 (file)
index 0000000..7e22f42
--- /dev/null
@@ -0,0 +1,14 @@
+diff -urN wesnoth-1.6.5/src/tools/exploder_utils.cpp wesnoth-1.6.5.new/src/tools/exploder_utils.cpp
+--- wesnoth-1.6.5/src/tools/exploder_utils.cpp 2009-01-01 11:27:41.000000000 +0100
++++ wesnoth-1.6.5.new/src/tools/exploder_utils.cpp     2010-02-11 13:21:55.718521128 +0100
+@@ -174,8 +174,8 @@
+       //TODO: review whether providing NULL error handlers is something
+       //sensible
+       png_struct* png_ptr = png_create_write_struct
+-              (PNG_LIBPNG_VER_STRING, (png_voidp)png_voidp_NULL,
+-               png_error_ptr_NULL, png_error_ptr_NULL);
++              (PNG_LIBPNG_VER_STRING, NULL,
++               NULL, NULL);
+       if(!png_ptr)
+               throw exploder_failure("Unable to initialize the png write structure");
This page took 0.198345 seconds and 4 git commands to generate.