aboutsummaryrefslogtreecommitdiff
path: root/games/wesnoth/wesnoth-libpng-1.4.0.patch
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-22 10:34:59 -0400
committerChess Griffin <chess@chessgriffin.com>2010-05-23 23:13:06 -0500
commit4716923d35be4ea65be3b3e0654f6f1c050b11a7 (patch)
tree5ec8fbc187e9e309da28e6142c3c54da4aa02c7c /games/wesnoth/wesnoth-libpng-1.4.0.patch
parent37d6a2681251a9bdd94a9508df3493a12c16cfcd (diff)
games/wesnoth: Patched to build with libpng on 13.1
Also miscellaneous SlackBuild script cleanups
Diffstat (limited to 'games/wesnoth/wesnoth-libpng-1.4.0.patch')
-rw-r--r--games/wesnoth/wesnoth-libpng-1.4.0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/wesnoth/wesnoth-libpng-1.4.0.patch b/games/wesnoth/wesnoth-libpng-1.4.0.patch
new file mode 100644
index 0000000000000..be8adfcaacbf8
--- /dev/null
+++ b/games/wesnoth/wesnoth-libpng-1.4.0.patch
@@ -0,0 +1,14 @@
+diff -Nur wesnoth-1.8.orig/src/tools/exploder_utils.cpp wesnoth-1.8/src/tools/exploder_utils.cpp
+--- wesnoth-1.8.orig/src/tools/exploder_utils.cpp 2010-01-01 15:16:49.000000000 +0200
++++ wesnoth-1.8/src/tools/exploder_utils.cpp 2010-04-08 17:38:03.066201123 +0300
+@@ -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, reinterpret_cast<png_voidp>(png_voidp_NULL),
+- png_error_ptr_NULL, png_error_ptr_NULL);
++ (PNG_LIBPNG_VER_STRING, reinterpret_cast<png_voidp>(NULL),
++ NULL, NULL);
+ if(!png_ptr)
+ throw exploder_failure("Unable to initialize the png write structure");
+