pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/vobcopy Make it build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/943db8cc827a
branches:  trunk
changeset: 392188:943db8cc827a
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Apr 28 13:01:39 2009 +0000

description:
Make it build on DragonFly.

diffstat:

 sysutils/vobcopy/distinfo         |   6 +++---
 sysutils/vobcopy/patches/patch-aa |  15 ++++++++++++---
 sysutils/vobcopy/patches/patch-ac |  23 +++++++++++++++++++----
 3 files changed, 34 insertions(+), 10 deletions(-)

diffs (84 lines):

diff -r 14ab8237aeae -r 943db8cc827a sysutils/vobcopy/distinfo
--- a/sysutils/vobcopy/distinfo Tue Apr 28 11:57:54 2009 +0000
+++ b/sysutils/vobcopy/distinfo Tue Apr 28 13:01:39 2009 +0000
@@ -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 -r 14ab8237aeae -r 943db8cc827a sysutils/vobcopy/patches/patch-aa
--- a/sysutils/vobcopy/patches/patch-aa Tue Apr 28 11:57:54 2009 +0000
+++ b/sysutils/vobcopy/patches/patch-aa Tue Apr 28 13:01:39 2009 +0000
@@ -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 @@
  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 -r 14ab8237aeae -r 943db8cc827a sysutils/vobcopy/patches/patch-ac
--- a/sysutils/vobcopy/patches/patch-ac Tue Apr 28 11:57:54 2009 +0000
+++ b/sysutils/vobcopy/patches/patch-ac Tue Apr 28 13:01:39 2009 +0000
@@ -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 @@
         ( 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 @@
  
  #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



Home | Main Index | Thread Index | Old Index