pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dvd+rw-tools Add DragonFly support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5f81770eb766
branches: trunk
changeset: 501197:5f81770eb766
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Oct 18 15:31:57 2005 +0000
description:
Add DragonFly support.
Patch privately provided by Jan Kosir.
diffstat:
sysutils/dvd+rw-tools/distinfo | 6 ++++--
sysutils/dvd+rw-tools/patches/patch-aa | 17 +++++++++++++----
sysutils/dvd+rw-tools/patches/patch-ab | 12 ++++++++++++
sysutils/dvd+rw-tools/patches/patch-ac | 22 ++++++++++++++++++++++
4 files changed, 51 insertions(+), 6 deletions(-)
diffs (95 lines):
diff -r e4dda2c90aac -r 5f81770eb766 sysutils/dvd+rw-tools/distinfo
--- a/sysutils/dvd+rw-tools/distinfo Tue Oct 18 15:15:59 2005 +0000
+++ b/sysutils/dvd+rw-tools/distinfo Tue Oct 18 15:31:57 2005 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.9 2005/09/06 08:10:59 abs Exp $
+$NetBSD: distinfo,v 1.10 2005/10/18 15:31:57 joerg Exp $
SHA1 (dvd+rw-tools-5.21.4.10.8.tar.gz) = 319a4529db3748f595aa9dc8f2e54564bb32a0e3
RMD160 (dvd+rw-tools-5.21.4.10.8.tar.gz) = 638f67ddfc24f89a4c2bc2abced652e679f4400f
Size (dvd+rw-tools-5.21.4.10.8.tar.gz) = 107045 bytes
-SHA1 (patch-aa) = 9fcb1e2e8e0302cd9693dccee1045fa5edf5b347
+SHA1 (patch-aa) = 36de21da2761352c6cf60498a4165ee7040bac2e
+SHA1 (patch-ab) = cf6a5fd0b052c5e37661d28ba044a1e989f916f3
+SHA1 (patch-ac) = 9062f5711a0fcfd3a60bcecfe50cae7293e1c225
diff -r e4dda2c90aac -r 5f81770eb766 sysutils/dvd+rw-tools/patches/patch-aa
--- a/sysutils/dvd+rw-tools/patches/patch-aa Tue Oct 18 15:15:59 2005 +0000
+++ b/sysutils/dvd+rw-tools/patches/patch-aa Tue Oct 18 15:31:57 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2005/09/06 08:10:59 abs Exp $
+$NetBSD: patch-aa,v 1.5 2005/10/18 15:31:57 joerg Exp $
---- transport.hxx.orig 2004-04-19 18:25:06.000000000 +0200
+--- transport.hxx.orig 2004-08-25 01:36:29.000000000 +0200
+++ transport.hxx
@@ -6,7 +6,7 @@
// For further details see http://fy.chalmers.se/~appro/linux/DVD+RW/
@@ -21,7 +21,7 @@
inline long getmsecs()
{ struct timeval tv;
-@@ -407,7 +410,11 @@ public:
+@@ -413,7 +416,11 @@ public:
// mounted, so that it could as well just return 0;
int umount(int f=-1)
{ struct stat fsb,msb;
@@ -33,7 +33,16 @@
int ret=0,mntsize,i;
if (f==-1) f=fd;
-@@ -603,7 +610,11 @@ public:
+@@ -442,7 +449,7 @@ public:
+ { return 1; }
+ };
+
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+
+ #include <sys/ioctl.h>
+ #include <camlib.h>
+@@ -609,7 +616,11 @@ public:
}
int umount(int f=-1)
{ struct stat fsb,msb;
diff -r e4dda2c90aac -r 5f81770eb766 sysutils/dvd+rw-tools/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dvd+rw-tools/patches/patch-ab Tue Oct 18 15:31:57 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2005/10/18 15:31:58 joerg Exp $
+
+--- Makefile.m4.orig 2004-07-23 12:04:39.000000000 +0200
++++ Makefile.m4
+@@ -10,6 +10,7 @@ WARN=#-Wall # developers are welcomed to
+ ifelse(OS,NetBSD,[define([OS],[BSD])CXXFLAGS+=-D__unix])
+ ifelse(OS,OpenBSD,[define([OS],[BSD])])
+ ifelse(OS,FreeBSD,[define([OS],[BSD])LDLIBS=-lcam])
++ifelse(OS,DragonFly,[define([OS],[BSD])LDLIBS=-lcam])
+ ifelse(OS,BSD,[
+ #
+ # OpenBSD/NetBSD/FreeBSD section
diff -r e4dda2c90aac -r 5f81770eb766 sysutils/dvd+rw-tools/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dvd+rw-tools/patches/patch-ac Tue Oct 18 15:31:57 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2005/10/18 15:31:58 joerg Exp $
+
+--- growisofs.c.orig 2004-08-25 01:02:29.000000000 +0200
++++ growisofs.c
+@@ -331,7 +331,7 @@
+ #ifndef _GNU_SOURCE
+ #define _GNU_SOURCE
+ #endif
+-#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
++#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+ #define off64_t off_t
+ #define stat64 stat
+ #define fstat64 fstat
+@@ -735,7 +735,7 @@ char *setup_fds (char *device)
+ goto open_rw;
+ }
+
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+
+ #include <sys/cdio.h>
+ #include <camlib.h>
Home |
Main Index |
Thread Index |
Old Index