summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch')
-rw-r--r--media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch b/media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch
new file mode 100644
index 000000000000..6ecd44c1e8d2
--- /dev/null
+++ b/media-video/dvdauthor/files/dvdauthor-0.6.18-libpng15.patch
@@ -0,0 +1,19 @@
+--- src/spuunmux.c
++++ src/spuunmux.c
+@@ -37,6 +37,7 @@
+
+ #include <netinet/in.h>
+
++#include <zlib.h>
+ #include <png.h>
+
+ #include "rgb.h"
+@@ -483,7 +484,7 @@
+ return -1;
+ }
+
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose(fp);
+ return -1;