summaryrefslogtreecommitdiff
path: root/multimedia/dvdauthor/files/patch-spuunmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvdauthor/files/patch-spuunmux.c')
-rw-r--r--multimedia/dvdauthor/files/patch-spuunmux.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/dvdauthor/files/patch-spuunmux.c b/multimedia/dvdauthor/files/patch-spuunmux.c
new file mode 100644
index 000000000000..0ef3496b4962
--- /dev/null
+++ b/multimedia/dvdauthor/files/patch-spuunmux.c
@@ -0,0 +1,19 @@
+--- src/spuunmux.c.orig 2010-05-10 09:27:55.000000000 +0200
++++ src/spuunmux.c 2012-04-27 10:44:31.000000000 +0200
+@@ -39,6 +39,7 @@
+ #include <netinet/in.h>
+
+ #include <png.h>
++#include <zlib.h>
+
+ #include "rgb.h"
+ #include "common.h"
+@@ -610,7 +611,7 @@
+ png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
+ return -1;
+ } /*if*/
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(fp);