aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-gui/files/patch-NSBitmapImageRep+PNG.m
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gnustep-gui/files/patch-NSBitmapImageRep+PNG.m')
-rw-r--r--x11-toolkits/gnustep-gui/files/patch-NSBitmapImageRep+PNG.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/gnustep-gui/files/patch-NSBitmapImageRep+PNG.m b/x11-toolkits/gnustep-gui/files/patch-NSBitmapImageRep+PNG.m
new file mode 100644
index 000000000000..8432441cfac2
--- /dev/null
+++ b/x11-toolkits/gnustep-gui/files/patch-NSBitmapImageRep+PNG.m
@@ -0,0 +1,15 @@
+--- Source/NSBitmapImageRep+PNG.m.orig 2009-02-17 00:23:41.000000000 +0100
++++ Source/NSBitmapImageRep+PNG.m 2012-04-27 18:54:35.000000000 +0200
+@@ -33,9 +33,11 @@
+ #if HAVE_LIBPNG
+
+ #ifdef HAVE_LIBPNG_PNG_H
+-#include <libpng/png.h>
++#include <png.h>
++#include <pngpriv.h>
+ #else
+ #include <png.h>
++#include <pngpriv.h>
+ #endif
+
+ #include <Foundation/NSData.h>