summaryrefslogtreecommitdiff
path: root/sysutils/vobcopy
diff options
context:
space:
mode:
authorhasso <hasso>2009-04-28 13:01:39 +0000
committerhasso <hasso>2009-04-28 13:01:39 +0000
commitef26ddeb7b6ca9b148616d28ff41c3b8d7b5cc17 (patch)
tree5d4ab2bb3406642a2212883a64e377174bc3097b /sysutils/vobcopy
parent6654c4a126ede7b00c6df62fdde4f1c774f0bd14 (diff)
downloadpkgsrc-ef26ddeb7b6ca9b148616d28ff41c3b8d7b5cc17.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'sysutils/vobcopy')
-rw-r--r--sysutils/vobcopy/distinfo6
-rw-r--r--sysutils/vobcopy/patches/patch-aa15
-rw-r--r--sysutils/vobcopy/patches/patch-ac23
3 files changed, 34 insertions, 10 deletions
diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo
index 4c721acaa13..5ea2e24a896 100644
--- a/sysutils/vobcopy/distinfo
+++ b/sysutils/vobcopy/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2008/07/13 16:14:00 tonnerre Exp $
+$NetBSD: distinfo,v 1.9 2009/04/28 13:01:39 hasso Exp $
SHA1 (vobcopy-1.1.1.tar.gz) = 5e3c2609f605700e6d3f2cff225dbb4fa04d8b4b
RMD160 (vobcopy-1.1.1.tar.gz) = fa8fed54e7cd63322871caa3a357f518f40c8eb7
Size (vobcopy-1.1.1.tar.gz) = 50779 bytes
-SHA1 (patch-aa) = bd5e79f8ac3015730a3b1df4be5463b7ec482ea1
+SHA1 (patch-aa) = cf48506003c85e6875a79b1d3c93acf06e197a44
SHA1 (patch-ab) = 923dcc3aa05a0c7670158b59b3a203d3349ab47d
-SHA1 (patch-ac) = 3facf278da35699e0fa20a9570b4dd6743f78ef6
+SHA1 (patch-ac) = c82453df934f8e21b17414d3feb064debfe4d227
diff --git a/sysutils/vobcopy/patches/patch-aa b/sysutils/vobcopy/patches/patch-aa
index 57e705b3f72..54f2ef5bda7 100644
--- a/sysutils/vobcopy/patches/patch-aa
+++ b/sysutils/vobcopy/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.6 2008/07/13 16:14:00 tonnerre Exp $
+$NetBSD: patch-aa,v 1.7 2009/04/28 13:01:39 hasso Exp $
---- vobcopy.c.orig 2008-02-19 06:27:04.000000000 +0100
-+++ vobcopy.c
+--- vobcopy.c.orig 2008-02-19 07:27:04 +0200
++++ vobcopy.c 2008-09-22 03:12:50 +0300
@@ -53,7 +53,6 @@
#include "vobcopy.h"
@@ -10,3 +10,12 @@ $NetBSD: patch-aa,v 1.6 2008/07/13 16:14:00 tonnerre Exp $
char name[300];
bool overwrite_flag = FALSE;
+@@ -2177,7 +2176,7 @@ char *safestrncpy(char *dest, const char
+ return strncpy(dest, src, n-1);
+ }
+
+-#if defined(__APPLE__) && defined(__GNUC__)
++#if (defined(__APPLE__) && defined(__GNUC__)) || defined(__DragonFly__)
+ int fdatasync( int value )
+ {
+ return 0;
diff --git a/sysutils/vobcopy/patches/patch-ac b/sysutils/vobcopy/patches/patch-ac
index aae660baecb..6b1a5e1a504 100644
--- a/sysutils/vobcopy/patches/patch-ac
+++ b/sysutils/vobcopy/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2008/07/13 16:14:00 tonnerre Exp $
+$NetBSD: patch-ac,v 1.3 2009/04/28 13:01:39 hasso Exp $
---- vobcopy.h.orig 2008-02-19 06:27:04.000000000 +0100
-+++ vobcopy.h
+--- vobcopy.h.orig 2008-02-19 07:27:04 +0200
++++ vobcopy.h 2009-04-28 15:31:42 +0300
@@ -43,7 +43,11 @@
#include <sys/mnttab.h>
#include <sys/statvfs.h>
@@ -23,7 +23,14 @@ $NetBSD: patch-ac,v 1.2 2008/07/13 16:14:00 tonnerre Exp $
( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) )
#include <sys/mount.h>
#define USE_STATFS 1
-@@ -94,9 +98,15 @@ typedef enum { FALSE=0, TRUE=1 } bool;
+@@ -88,15 +92,21 @@ typedef enum { FALSE=0, TRUE=1 } bool;
+
+ # endif
+
+-# else
++# elif !defined(__DragonFly__)
+
+ #include <sys/vfs.h>
# endif
@@ -84,3 +91,11 @@ $NetBSD: patch-ac,v 1.2 2008/07/13 16:14:00 tonnerre Exp $
#if defined( __USE_FILE_OFFSET64 )
# define HAS_LARGEFILE 1
+@@ -212,6 +236,6 @@ void watchdog_handler( int signal );
+ void shutdown_handler( int signal );
+ char *safestrncpy(char *dest, const char *src, size_t n);
+
+-#if defined(__APPLE__) && defined(__GNUC__)
++#if (defined(__APPLE__) && defined(__GNUC__)) || defined(__DragonFly__)
+ int fdatasync( int value );
+ #endif