aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-stable/files/patch-libAfterImage-import.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /x11-wm/afterstep-stable/files/patch-libAfterImage-import.c
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
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 ;
+