aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vobcopy
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-05-05 16:55:12 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-05-05 16:55:12 +0000
commit90ce3c3996846d75572c92a2fc9a410bebbcb879 (patch)
tree35da424904678f61ba5c474a4fdb1db06adbc726 /sysutils/vobcopy
parent77bd3af976d14414baa86d0a7a35526f63605508 (diff)
downloadports-90ce3c3996846d75572c92a2fc9a410bebbcb879.tar.gz
ports-90ce3c3996846d75572c92a2fc9a410bebbcb879.zip
Notes
Diffstat (limited to 'sysutils/vobcopy')
-rw-r--r--sysutils/vobcopy/Makefile4
-rw-r--r--sysutils/vobcopy/distinfo6
-rw-r--r--sysutils/vobcopy/files/patch-vobcopy.h79
3 files changed, 27 insertions, 62 deletions
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile
index ba9dca94d4da..e468eedfb492 100644
--- a/sysutils/vobcopy/Makefile
+++ b/sysutils/vobcopy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= vobcopy
-PORTVERSION= 1.0.2
+PORTVERSION= 1.1.1
CATEGORIES= sysutils
MASTER_SITES= http://lpn.rnbhq.org/download/
@@ -25,7 +25,7 @@ ALL_TARGET= ${PORTNAME}
MAN1= vobcopy.1
PLIST_FILES= bin/vobcopy
-PORTDOCS= COPYING Changelog README Release-Notes TODO \
+PORTDOCS= Changelog FAQ README THANKS TODO \
alternative_programs.txt
.include <bsd.port.pre.mk>
diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo
index 593640b09c79..4b8a50994c1f 100644
--- a/sysutils/vobcopy/distinfo
+++ b/sysutils/vobcopy/distinfo
@@ -1,3 +1,3 @@
-MD5 (vobcopy-1.0.2.tar.bz2) = 8bc06614d4e8131b13faa1339cdb0b64
-SHA256 (vobcopy-1.0.2.tar.bz2) = b17637d0cdaa8ed7a45ef53c46d2ac47cdbc75d5e5ab6c38797320005d7d42ed
-SIZE (vobcopy-1.0.2.tar.bz2) = 43626
+MD5 (vobcopy-1.1.1.tar.bz2) = f3331ff362c8f271731944b1a9dea108
+SHA256 (vobcopy-1.1.1.tar.bz2) = 4c7ddc3f7618d72c579c2d708df96ca54757420feaa56b9b3546c73787b90583
+SIZE (vobcopy-1.1.1.tar.bz2) = 43362
diff --git a/sysutils/vobcopy/files/patch-vobcopy.h b/sysutils/vobcopy/files/patch-vobcopy.h
index b0d24cc2a166..ed98c43e3553 100644
--- a/sysutils/vobcopy/files/patch-vobcopy.h
+++ b/sysutils/vobcopy/files/patch-vobcopy.h
@@ -1,63 +1,28 @@
---- vobcopy.h.orig Mon Nov 13 19:57:24 2006
-+++ vobcopy.h Mon Dec 4 23:57:12 2006
-@@ -19,7 +19,6 @@
-
- #if ( defined( __unix__ ) || defined( unix )) && !defined( USG )
- #include <sys/param.h>
--#else
- #endif
-
- #if defined( __GNUC__ ) && \
-@@ -31,6 +30,8 @@
- /* by some bugreport:*/
- #if !( defined( BSD ) && ( BSD >= 199306 ) ) && !defined( sun )
- #include <stdint.h>
-+#else
-+#include <inttypes.h>
- #endif
-
- /*for/from play_title.c*/
-@@ -66,24 +67,23 @@
+-- vobcopy.h.orig 2008-04-13 14:01:03.000000000 +0000
++++ vobcopy.h 2008-04-13 14:08:18.000000000 +0000
+@@ -58,7 +58,7 @@
/* ////////// *BSD ////////// */
#if ( defined( BSD ) && ( BSD >= 199306 ) )
-
+
-# if !defined( __NetBSD__ ) ) || \
-- ( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) )
--#include <sys/mount.h>
--#define USE_STATFS 1
-+# if ( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) ) || \
-+ ( defined( __FreeBSD__) && ( __FreeBSD_version >= 500040 ) )
++# if ! ( defined( __NetBSD__ ) ) || \
+ ( defined( __NetBSD__) && ( __NetBSD_Version__ < 200040000 ) )
+ #include <sys/mount.h>
+ #define USE_STATFS 1
+@@ -87,12 +87,13 @@
+ #define GETMNTINFO_USES_STATVFS
+
+ # endif
++# endif
+
+-# else
+-
++#if defined(__FreeBSD__)
+#include <sys/statvfs.h>
-
- # else
-
--#include <sys/statvfs.h>
-+#include <sys/mount.h>
-+#define USE_STATFS 1
-
- # endif
-
--# if defined(NetBSD)
++#else
+ #include <sys/vfs.h>
-
--#include <sys/param.h>
-+# if defined(__NetBSD__) || defined(__FreeBSD__)
-
- #define USE_GETMNTINFO
-
--# if ( __NetBSD_Version__ < 200040000 )
-+# if (defined( __NetBSD__ ) && ( __NetBSD_Version__ < 200040000 )) || \
-+ (defined( __FreeBSD__ ))
-
- #include <sys/mount.h>
- #define USE_STATFS_FOR_DEV
-@@ -170,7 +170,10 @@
-
- #include "dvd.h"
-
-+/* BSD already have off_t definition */
-+#if !(defined(BSD) && (BSD >= 199306))
- #define off_t __off64_t
+-# endif
+#endif
-
- void usage(char *);
- int add_end_slash( char * );
+
+ #define HAS_LARGEFILE 1