summaryrefslogtreecommitdiff
path: root/x11/xvidcap
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-04-20 22:56:01 +0000
committerwiz <wiz@pkgsrc.org>2006-04-20 22:56:01 +0000
commit2bdcc35e524a6ce868710a2af0d8c16bbbee236b (patch)
tree48d392afc443db3d6dff2d180e137189b988d3ef /x11/xvidcap
parent511db255051404f49cf11cc81732388ce809e84b (diff)
downloadpkgsrc-2bdcc35e524a6ce868710a2af0d8c16bbbee236b.tar.gz
Fix png part of build failure.
XXX: packages still don't compile XXX: why don't these two packages share patches?
Diffstat (limited to 'x11/xvidcap')
-rw-r--r--x11/xvidcap/distinfo3
-rw-r--r--x11/xvidcap/patches/patch-af19
2 files changed, 21 insertions, 1 deletions
diff --git a/x11/xvidcap/distinfo b/x11/xvidcap/distinfo
index ef1bb5bc081..d5cc3fdec9b 100644
--- a/x11/xvidcap/distinfo
+++ b/x11/xvidcap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/12/28 16:37:04 joerg Exp $
+$NetBSD: distinfo,v 1.5 2006/04/20 22:56:01 wiz Exp $
SHA1 (xvidcap-1.1.3.tar.gz) = e6d86a4184c8cc3e74738fb6e20d49c0d1640025
RMD160 (xvidcap-1.1.3.tar.gz) = cc7be360153f192b502ffedc6548cce163a9154c
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = cea05b76ffb2919e1fd4dcb5f489f641ca8e36bd
SHA1 (patch-ac) = 0de9d748e3808a210ec68d140eb1dfd5e18d9e4f
SHA1 (patch-ad) = ac40095849f721cfd8aa1e0143dff3ac9b705be7
SHA1 (patch-ae) = 73358643d97b9b8771f7a26189a386c32007ec70
+SHA1 (patch-af) = 0e5d5bc1064e67b5adc5958ea613d77114017c17
diff --git a/x11/xvidcap/patches/patch-af b/x11/xvidcap/patches/patch-af
new file mode 100644
index 00000000000..8ad755b4547
--- /dev/null
+++ b/x11/xvidcap/patches/patch-af
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.1 2006/04/20 22:56:02 wiz Exp $
+
+--- src/mngutil.c.orig 2004-02-14 11:55:36.000000000 +0100
++++ src/mngutil.c
+@@ -30,12 +30,14 @@
+ #include <png.h>
+ #include "mngutil.h"
+
++#if 0
+ extern void png_write_data (png_structp png_ptr,
+ png_bytep data,png_size_t length);
+ extern void png_save_uint_32 (png_bytep buf, png_uint_32 i);
+ extern void png_save_uint_16 (png_bytep buf, png_uint_16 i);
+ extern void png_write_chunk (png_structp png_ptr,
+ png_bytep chunk_name, png_bytep data, png_size_t length);
++#endif
+
+ png_byte mng_sig[8] = {138, 77, 78, 71, 13, 10, 26, 10};
+