slackbuilds_ponce/games/glestae/libpng-1.5.patch
Larry Hajali 61faa42693 games/glestae: Included patches for gcc47 and libpng15
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-10 10:47:21 -05:00

14 lines
545 B
Diff

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>