aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-stable/files/patch-libAfterImage-import.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep-stable/files/patch-libAfterImage-import.c')
-rw-r--r--x11-wm/afterstep-stable/files/patch-libAfterImage-import.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-wm/afterstep-stable/files/patch-libAfterImage-import.c b/x11-wm/afterstep-stable/files/patch-libAfterImage-import.c
new file mode 100644
index 000000000000..bef85880f392
--- /dev/null
+++ b/x11-wm/afterstep-stable/files/patch-libAfterImage-import.c
@@ -0,0 +1,19 @@
+--- libAfterImage/import.c.orig 2010-09-23 22:57:57.000000000 +0200
++++ libAfterImage/import.c 2012-05-06 09:30:26.000000000 +0200
+@@ -40,6 +40,7 @@
+ # else
+ # include <png.h>
+ # endif
++# include <pngpriv.h>
+ #else
+ # include <setjmp.h>
+ # ifdef HAVE_JPEG
+@@ -1251,7 +1252,7 @@
+ * the normal method of doing things with libpng). REQUIRED unless you
+ * set up your own error handlers in the png_create_read_struct() earlier.
+ */
+- if ( !setjmp (png_ptr->jmpbuf))
++ if ( !setjmp (png_jmpbuf(png_ptr)))
+ {
+ ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ;
+