diff options
author | joerg <joerg> | 2006-05-19 08:32:04 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-05-19 08:32:04 +0000 |
commit | f81ca499669a6fdc3004f848245f7ea5a133c9f3 (patch) | |
tree | baebcf1798ae0c6a710b0f9e4cb66cca65cf9a52 /sysutils/vobcopy | |
parent | 3eae49bff9136c97b02d1bc112dfeb4904cf4710 (diff) | |
download | pkgsrc-f81ca499669a6fdc3004f848245f7ea5a133c9f3.tar.gz |
Fix errno usage.
Diffstat (limited to 'sysutils/vobcopy')
-rw-r--r-- | sysutils/vobcopy/distinfo | 4 | ||||
-rw-r--r-- | sysutils/vobcopy/patches/patch-aa | 12 | ||||
-rw-r--r-- | sysutils/vobcopy/patches/patch-ab | 21 |
3 files changed, 36 insertions, 1 deletions
diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo index 2c60357ec11..c74aab48f96 100644 --- a/sysutils/vobcopy/distinfo +++ b/sysutils/vobcopy/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.5 2005/12/27 10:19:16 martti Exp $ +$NetBSD: distinfo,v 1.6 2006/05/19 08:32:04 joerg Exp $ SHA1 (vobcopy-0.5.14.tar.gz) = d4d7c6c5ed4380e4a57e82f561892ad7fba9593b RMD160 (vobcopy-0.5.14.tar.gz) = 47887e9897b1217e3841fd239cfaa2f2973cb9f5 Size (vobcopy-0.5.14.tar.gz) = 44420 bytes +SHA1 (patch-aa) = 431d7d05356fd8e756bcdf67a822360e9183492e +SHA1 (patch-ab) = eea1f5bb3004e86281663c03c8662d5b6e4ea4fe diff --git a/sysutils/vobcopy/patches/patch-aa b/sysutils/vobcopy/patches/patch-aa new file mode 100644 index 00000000000..cc9a32866c1 --- /dev/null +++ b/sysutils/vobcopy/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.5 2006/05/19 08:32:04 joerg Exp $ + +--- vobcopy.c.orig 2006-05-19 08:27:58.000000000 +0000 ++++ vobcopy.c +@@ -121,7 +121,6 @@ + #include <dvdread/nav_read.h> + #include <dvdread/nav_print.h> + +-extern int errno; + char name[300]; + + /* --------------------------------------------------------------------------*/ diff --git a/sysutils/vobcopy/patches/patch-ab b/sysutils/vobcopy/patches/patch-ab new file mode 100644 index 00000000000..10c0f4cfb80 --- /dev/null +++ b/sysutils/vobcopy/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.5 2006/05/19 08:32:04 joerg Exp $ + +--- dvd.c.orig 2006-05-19 08:29:37.000000000 +0000 ++++ dvd.c +@@ -48,7 +48,6 @@ + + + #include <errno.h> +-extern int errno; + + /*for solaris, if we need to include some cdrom related stuff + #include <sys/cdio.h> +@@ -199,7 +198,7 @@ int get_device( char *path, char *device + if( !strcmp( path, buf.f_mntonname ) ) + { + mounted = TRUE; +-#if defined(__FreeBSD__) && (__FreeBSD_Version > 500000) ++#if defined(__DragonFly__) || (defined(__FreeBSD__) && (__FreeBSD_Version > 500000)) + strcpy(device, buf.f_mntfromname); + #else + strcpy(device, "/dev/r"); |