summaryrefslogtreecommitdiff
path: root/sysutils/vobcopy
diff options
context:
space:
mode:
authorhans <hans>2011-05-15 09:59:18 +0000
committerhans <hans>2011-05-15 09:59:18 +0000
commit282938c86ca4b3e03190b0476dab478b0dc74875 (patch)
tree4f8f4b41e6541e304ba9d31bd62856698c849509 /sysutils/vobcopy
parent813efd29a77969b9e6fe720abb1de09640aa4927 (diff)
downloadpkgsrc-282938c86ca4b3e03190b0476dab478b0dc74875.tar.gz
Fix build on SunOS.
Diffstat (limited to 'sysutils/vobcopy')
-rw-r--r--sysutils/vobcopy/distinfo4
-rw-r--r--sysutils/vobcopy/patches/patch-ab26
2 files changed, 24 insertions, 6 deletions
diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo
index 6b8d66485ac..5deab992cbb 100644
--- a/sysutils/vobcopy/distinfo
+++ b/sysutils/vobcopy/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.11 2010/09/16 12:02:16 wiz Exp $
+$NetBSD: distinfo,v 1.12 2011/05/15 09:59:18 hans Exp $
SHA1 (vobcopy-1.2.0.tar.gz) = f48e84b225e79a5ad2e388230d8f6e2c5d754bff
RMD160 (vobcopy-1.2.0.tar.gz) = 6ce6f4b0f6bc136a20b689d03e672886e49b41c2
Size (vobcopy-1.2.0.tar.gz) = 68214 bytes
SHA1 (patch-aa) = 2417722599cd22c63190cc364a37ae9066d8d1e3
-SHA1 (patch-ab) = 923dcc3aa05a0c7670158b59b3a203d3349ab47d
+SHA1 (patch-ab) = 8babec083f656b3954d7bd1272a3b256c3aeb219
SHA1 (patch-ac) = 0a8e6ce70ab3b3556e9369579a59ebabd50d9a26
diff --git a/sysutils/vobcopy/patches/patch-ab b/sysutils/vobcopy/patches/patch-ab
index ec3921c1053..d6d0597bac6 100644
--- a/sysutils/vobcopy/patches/patch-ab
+++ b/sysutils/vobcopy/patches/patch-ab
@@ -1,8 +1,26 @@
-$NetBSD: patch-ab,v 1.6 2008/07/13 16:14:00 tonnerre Exp $
+$NetBSD: patch-ab,v 1.7 2011/05/15 09:59:18 hans Exp $
---- dvd.c.orig 2008-02-19 06:27:04.000000000 +0100
-+++ dvd.c
-@@ -166,7 +166,7 @@ int get_device( char *path, char *device
+--- dvd.c.orig 2009-06-08 22:15:34.000000000 +0200
++++ dvd.c 2011-05-15 12:46:00.612223980 +0200
+@@ -23,7 +23,7 @@
+ */
+ int get_dvd_name(const char *device, char *title)
+ {
+-
++ int i = 0;
+ #if defined( __sun )
+ /* title is actually in the device name */
+ char *new_title;
+@@ -31,7 +31,7 @@ int get_dvd_name(const char *device, cha
+ strncpy( title, new_title, sizeof(title)-1 );
+ #else
+ int filehandle = 0;
+- int i = 0, last = 0;
++ int last = 0;
+ int bytes_read;
+
+ char tmp_buf[2048];
+@@ -173,7 +173,7 @@ int get_device( char *path, char *device
if( !strcmp( path, buf.f_mntonname ) )
{
mounted = TRUE;