summaryrefslogtreecommitdiff
path: root/sysutils/vobcopy
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-02-02 20:20:50 +0000
committerwiz <wiz@pkgsrc.org>2014-02-02 20:20:50 +0000
commit17fc0e58907faef8d29a8182231cf1695553f1e6 (patch)
tree7645ec99c0eb145e281f50fdaf750bc269539d2f /sysutils/vobcopy
parente85f0c9e42f50311c4830f38a96291c60fd9ec18 (diff)
downloadpkgsrc-17fc0e58907faef8d29a8182231cf1695553f1e6.tar.gz
Enable large file support on NetBSD.
Diffstat (limited to 'sysutils/vobcopy')
-rw-r--r--sysutils/vobcopy/Makefile4
-rw-r--r--sysutils/vobcopy/distinfo4
-rw-r--r--sysutils/vobcopy/patches/patch-ac16
3 files changed, 14 insertions, 10 deletions
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile
index 12841f0ccf7..3863d452368 100644
--- a/sysutils/vobcopy/Makefile
+++ b/sysutils/vobcopy/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2012/10/23 19:51:29 asau Exp $
-#
+# $NetBSD: Makefile,v 1.15 2014/02/02 20:20:50 wiz Exp $
DISTNAME= vobcopy-1.2.0
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://lpn.rnbhq.org/download/
diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo
index 5deab992cbb..2823de1ed0e 100644
--- a/sysutils/vobcopy/distinfo
+++ b/sysutils/vobcopy/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2011/05/15 09:59:18 hans Exp $
+$NetBSD: distinfo,v 1.13 2014/02/02 20:20:50 wiz 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) = 8babec083f656b3954d7bd1272a3b256c3aeb219
-SHA1 (patch-ac) = 0a8e6ce70ab3b3556e9369579a59ebabd50d9a26
+SHA1 (patch-ac) = e486b2b0949171f60762152bd5e5517d85a85ab6
diff --git a/sysutils/vobcopy/patches/patch-ac b/sysutils/vobcopy/patches/patch-ac
index 3c014033504..0930cb5c545 100644
--- a/sysutils/vobcopy/patches/patch-ac
+++ b/sysutils/vobcopy/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
+$NetBSD: patch-ac,v 1.5 2014/02/02 20:20:50 wiz Exp $
--- vobcopy.h.orig 2009-06-08 20:15:39.000000000 +0000
+++ vobcopy.h
@@ -22,7 +22,7 @@ $NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
#if !defined( __NetBSD__ ) || \
( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) )
-@@ -100,20 +103,23 @@ typedef enum { FALSE=0, TRUE=1 } bool;
+@@ -100,20 +103,27 @@ typedef enum { FALSE=0, TRUE=1 } bool;
#define GETMNTINFO_USES_STATVFS
# endif
@@ -37,6 +37,10 @@ $NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
#endif
-# if !defined(OpenBSD)
++#if defined(__NetBSD__) && !defined(O_LARGEFILE)
++#define O_LARGEFILE 0
++#endif
++
+# if !defined(OpenBSD) && defined(O_LARGEFILE)
#define HAS_LARGEFILE 1
#endif
@@ -49,7 +53,7 @@ $NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
#else /* *BSD */
-@@ -134,8 +140,10 @@ typedef enum { FALSE=0, TRUE=1 } bool;
+@@ -134,8 +144,10 @@ typedef enum { FALSE=0, TRUE=1 } bool;
#define GETMNTINFO_USES_STATFS 1
#define USE_GETMNTINFO 1
@@ -60,7 +64,7 @@ $NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
typedef int bool;
# endif
-@@ -163,7 +171,11 @@ typedef int bool;
+@@ -163,7 +175,11 @@ typedef int bool;
#define HAVE_GETOPT_LONG 1
#define HAS_LARGEFILE 1
@@ -72,7 +76,7 @@ $NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
#elif defined( __GLIBC__ )
-@@ -174,13 +186,21 @@ typedef int bool;
+@@ -174,13 +190,21 @@ typedef int bool;
#define HAVE_GETOPT_LONG 1
#define HAS_LARGEFILE 1
@@ -94,7 +98,7 @@ $NetBSD: patch-ac,v 1.4 2010/09/16 12:02:16 wiz Exp $
#if defined( __USE_FILE_OFFSET64 )
# define HAS_LARGEFILE 1
-@@ -232,6 +252,6 @@ char *safestrncpy(char *dest, const char
+@@ -232,6 +256,6 @@ char *safestrncpy(char *dest, const char
int check_progress( void ); /* this can be removed because the one below supersedes it */
int progressUpdate( int starttime, int cur, int tot, int force );