summaryrefslogtreecommitdiff
path: root/comms/xnecview/files/patch-xwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/xnecview/files/patch-xwin.c')
-rw-r--r--comms/xnecview/files/patch-xwin.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/xnecview/files/patch-xwin.c b/comms/xnecview/files/patch-xwin.c
new file mode 100644
index 000000000000..6d56247a50ce
--- /dev/null
+++ b/comms/xnecview/files/patch-xwin.c
@@ -0,0 +1,11 @@
+--- xwin.c.orig 2011-07-26 00:03:37.000000000 +0200
++++ xwin.c 2012-05-01 08:33:19.000000000 +0200
+@@ -277,7 +277,7 @@
+ fclose(f);
+ return 1;
+ }
+- if (setjmp(pp->jmpbuf)) {
++ if (setjmp(png_jmpbuf(pp))) {
+ png_destroy_write_struct(&pp,&ip);
+ fclose(f);
+ gdk_image_destroy(image);