summaryrefslogtreecommitdiffstats
path: root/dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:38:02 +0100
commit50e5ce5b17e69be13228e2393c5804b0a79acfab (patch)
tree9845fa9af128d7fdd791755bb2be320f3ba2be4e /dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8548e8d6882b55dfb509b18dedfb7db17630037d (diff)
downloadnutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz
nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch')
-rw-r--r--dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch b/dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch
new file mode 100644
index 000000000..b0b112ff0
--- /dev/null
+++ b/dvdauthor/dvdauthor-0.7.0-libpng-1.5.patch
@@ -0,0 +1,25 @@
+D: patch-ab,v 1.4 2011/01/27 00:00:58 wiz Exp $
+
+Fix build with png-1.5.
+Accepted upstream in
+https://github.com/ldo/dvdauthor/commit/c82aaa4eb1a1c36bf7e2b7ae3c9140d0bf8000b5
+
+--- src/spuunmux.c.orig 2010-03-05 06:37:06.000000000 +0000
++++ 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);