summaryrefslogtreecommitdiffstats
path: root/games/glestae/libpng-1.5.patch
diff options
context:
space:
mode:
author Larry Hajali2012-08-10 17:47:21 +0200
committer Robby Workman2012-08-10 17:47:21 +0200
commit61faa4269316cf56e6ece673a7324d1cb93c4c9f (patch)
tree75da00c72de90c8c1675f9ae742bc0f8b4015781 /games/glestae/libpng-1.5.patch
parent1b8842c8868030a9b38860fce1cce3b3d5997963 (diff)
downloadslackbuilds-61faa4269316cf56e6ece673a7324d1cb93c4c9f.tar.gz
games/glestae: Included patches for gcc47 and libpng15
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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>