summaryrefslogtreecommitdiff
path: root/sysutils/vobcopy/patches
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2005-09-06 08:10:57 +0000
committerabs <abs@pkgsrc.org>2005-09-06 08:10:57 +0000
commitee9906d1989b65788f92509fd0b4ed4464bc22a1 (patch)
tree93bf2742fc4e1bf90527c6e25c8e73ae1da1c960 /sysutils/vobcopy/patches
parent8e32b054d75f8ceddac6834c017e26667ecbd768 (diff)
downloadpkgsrc-ee9906d1989b65788f92509fd0b4ed4464bc22a1.tar.gz
Fix NetBSD statvfs check to be >= 299000900 not >= 200040000
No pkgrevision bumps needed.
Diffstat (limited to 'sysutils/vobcopy/patches')
-rw-r--r--sysutils/vobcopy/patches/patch-aa4
-rw-r--r--sysutils/vobcopy/patches/patch-ab4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/vobcopy/patches/patch-aa b/sysutils/vobcopy/patches/patch-aa
index 79340ab334f..ca20b8e93df 100644
--- a/sysutils/vobcopy/patches/patch-aa
+++ b/sysutils/vobcopy/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2004/04/22 15:28:47 drochner Exp $
+$NetBSD: patch-aa,v 1.3 2005/09/06 08:11:00 abs Exp $
--- dvd.c.orig 2004-03-26 19:53:10.000000000 +0100
+++ dvd.c 2004-04-22 16:27:45.000000000 +0200
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.2 2004/04/22 15:28:47 drochner Exp $
+#if (defined(__unix__) || defined(unix)) && !defined(USG) || (defined(__APPLE__) && defined(__GNUC__)) || defined(__NetBSD__)
#include <sys/param.h>
+#define USE_GETMNTINFO
-+#if !defined(__NetBSD__) || (__NetBSD_Version__ < 200040000)
++#if !defined(__NetBSD__) || (__NetBSD_Version__ < 299000900)
#include <sys/mount.h>
+#define USE_STATFS_FOR_DEV
+#define GETMNTINFO_USES_STATFS
diff --git a/sysutils/vobcopy/patches/patch-ab b/sysutils/vobcopy/patches/patch-ab
index 1b5145d11c6..a876bbb8519 100644
--- a/sysutils/vobcopy/patches/patch-ab
+++ b/sysutils/vobcopy/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2004/04/22 15:28:47 drochner Exp $
+$NetBSD: patch-ab,v 1.3 2005/09/06 08:11:00 abs Exp $
--- vobcopy.c.orig 2004-03-26 19:53:10.000000000 +0100
+++ vobcopy.c 2004-04-22 15:54:46.000000000 +0200
@@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.2 2004/04/22 15:28:47 drochner Exp $
#include <dvdread/dvd_reader.h>
/* for solaris, but is also present in linux */
-#if (defined(BSD) && (BSD >= 199306)) ||(defined(__APPLE__) && defined(__GNUC__))
-+#if (defined(BSD) && (BSD >= 199306) && !defined(__NetBSD__)) ||(defined(__APPLE__) && defined(__GNUC__)) || (defined(__NetBSD__) && (__NetBSD_Version__ < 200040000))
++#if (defined(BSD) && (BSD >= 199306) && !defined(__NetBSD__)) ||(defined(__APPLE__) && defined(__GNUC__)) || (defined(__NetBSD__) && (__NetBSD_Version__ < 299000900))
/* I don't know if *BSD have getopt-long... please tell me! */
//#define HAVE_GETOPT_LONG
#include <sys/mount.h>