summaryrefslogtreecommitdiffstats
path: root/abs/core/dvdauthor/dvdauthor-0.7.0-libpng15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/dvdauthor/dvdauthor-0.7.0-libpng15.patch')
-rw-r--r--abs/core/dvdauthor/dvdauthor-0.7.0-libpng15.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core/dvdauthor/dvdauthor-0.7.0-libpng15.patch b/abs/core/dvdauthor/dvdauthor-0.7.0-libpng15.patch
new file mode 100644
index 0000000..2bb6363
--- /dev/null
+++ b/abs/core/dvdauthor/dvdauthor-0.7.0-libpng15.patch
@@ -0,0 +1,19 @@
+--- src/spuunmux.c
++++ src/spuunmux.c
+@@ -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);