summaryrefslogtreecommitdiff
path: root/multimedia/dvdauthor
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-01-14 10:55:42 +0000
committerwiz <wiz@pkgsrc.org>2011-01-14 10:55:42 +0000
commitad1a17e84ada6cc4b90045b266aa7b62a7f0dfd7 (patch)
treeb9e4f5e9ec3eddd0ebf07b4014f70b9eefed9767 /multimedia/dvdauthor
parent5ca39ca0cb7a7c4bd2e194c2a4575b2dbf65dd0c (diff)
downloadpkgsrc-ad1a17e84ada6cc4b90045b266aa7b62a7f0dfd7.tar.gz
Fix build with png-1.5.
Diffstat (limited to 'multimedia/dvdauthor')
-rw-r--r--multimedia/dvdauthor/distinfo3
-rw-r--r--multimedia/dvdauthor/patches/patch-ab23
2 files changed, 25 insertions, 1 deletions
diff --git a/multimedia/dvdauthor/distinfo b/multimedia/dvdauthor/distinfo
index c135958e2df..b869570f64b 100644
--- a/multimedia/dvdauthor/distinfo
+++ b/multimedia/dvdauthor/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2010/05/08 16:11:06 drochner Exp $
+$NetBSD: distinfo,v 1.10 2011/01/14 10:57:50 wiz Exp $
SHA1 (dvdauthor-0.6.18.tar.gz) = 7b6e190a3903f617d08368e3cc5e6fd80677e2fb
RMD160 (dvdauthor-0.6.18.tar.gz) = d7571a8371305aefb283f433440b3be2264e9e34
Size (dvdauthor-0.6.18.tar.gz) = 392809 bytes
SHA1 (patch-aa) = b8daa292a38786f7da2a6dcba9d03cd00260086c
+SHA1 (patch-ab) = 4f96e7ec097af871e190d61c9cfaab72ad74bc82
diff --git a/multimedia/dvdauthor/patches/patch-ab b/multimedia/dvdauthor/patches/patch-ab
new file mode 100644
index 00000000000..d0a14bd4a3d
--- /dev/null
+++ b/multimedia/dvdauthor/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.3 2011/01/14 10:57:50 wiz Exp $
+
+Fix build with png-1.5.
+
+--- src/spuunmux.c.orig 2010-03-05 06:37:06.000000000 +0000
++++ src/spuunmux.c
+@@ -38,6 +38,7 @@
+ #include <netinet/in.h>
+
+ #include <png.h>
++#include <zlib.h>
+
+ #include "rgb.h"
+ #include "common.h"
+@@ -483,7 +484,7 @@ static int write_png(char *file_name,str
+ 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;