summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/fifengine/files/fifengine-0.4.2-unbundle-libpng.patch')
-rw-r--r--games-engines/fifengine/files/fifengine-0.4.2-unbundle-libpng.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-engines/fifengine/files/fifengine-0.4.2-unbundle-libpng.patch b/games-engines/fifengine/files/fifengine-0.4.2-unbundle-libpng.patch
new file mode 100644
index 0000000..9509211
--- /dev/null
+++ b/games-engines/fifengine/files/fifengine-0.4.2-unbundle-libpng.patch
@@ -0,0 +1,25 @@
+Index: image.h
+===================================================================
+--- a/engine/core/video/image.h (revision 3239)
++++ b/engine/core/video/image.h (working copy)
+@@ -27,8 +27,6 @@
+
+ // 3rd party library includes
+ #include <SDL.h>
+-#define PNG_SKIP_SETJMP_CHECK
+-#include <png.h>
+
+ // FIFE includes
+ // These includes are split up in two parts, separated by one empty line
+Index: image.cpp
+===================================================================
+--- a/engine/core/video/image.cpp (revision 3239)
++++ b/engine/core/video/image.cpp (working copy)
+@@ -25,6 +25,7 @@
+
+ // 3rd party library includes
+ #include <SDL.h>
++#include <png.h>
+
+ // FIFE includes
+ // These includes are split up in two parts, separated by one empty line