summaryrefslogtreecommitdiff
path: root/games/glestae/libpng-1.5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/glestae/libpng-1.5.patch')
-rw-r--r--games/glestae/libpng-1.5.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/glestae/libpng-1.5.patch b/games/glestae/libpng-1.5.patch
new file mode 100644
index 0000000000..a5032866c9
--- /dev/null
+++ b/games/glestae/libpng-1.5.patch
@@ -0,0 +1,14 @@
+diff -Naur glestae-src-0.3.93.orig/source/shared_lib/sources/graphics/pixmap.cpp glestae-src-0.3.93/source/shared_lib/sources/graphics/pixmap.cpp
+--- glestae-src-0.3.93.orig/source/shared_lib/sources/graphics/pixmap.cpp 2011-10-05 17:48:29.000000000 +0000
++++ glestae-src-0.3.93/source/shared_lib/sources/graphics/pixmap.cpp 2012-07-04 02:54:14.252629579 +0000
+@@ -12,6 +12,10 @@
+ #include "pch.h"
+ #include "pixmap.h"
+
++#ifndef Z_DEFAULT_COMPRESSION
++# include "zlib.h"
++#endif
++
+ #include <stdexcept>
+ #include <cstdio>
+ #include <cassert>