pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/vobcopy Fix errno usage.
details: https://anonhg.NetBSD.org/pkgsrc/rev/245191603d7f
branches: trunk
changeset: 513010:245191603d7f
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri May 19 08:32:04 2006 +0000
description:
Fix errno usage.
diffstat:
sysutils/vobcopy/distinfo | 4 +++-
sysutils/vobcopy/patches/patch-aa | 12 ++++++++++++
sysutils/vobcopy/patches/patch-ab | 21 +++++++++++++++++++++
3 files changed, 36 insertions(+), 1 deletions(-)
diffs (53 lines):
diff -r 21a97cde3003 -r 245191603d7f sysutils/vobcopy/distinfo
--- a/sysutils/vobcopy/distinfo Fri May 19 08:26:22 2006 +0000
+++ b/sysutils/vobcopy/distinfo Fri May 19 08:32:04 2006 +0000
@@ -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 -r 21a97cde3003 -r 245191603d7f sysutils/vobcopy/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/vobcopy/patches/patch-aa Fri May 19 08:32:04 2006 +0000
@@ -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 -r 21a97cde3003 -r 245191603d7f sysutils/vobcopy/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/vobcopy/patches/patch-ab Fri May 19 08:32:04 2006 +0000
@@ -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");
Home |
Main Index |
Thread Index |
Old Index