diff options
author | John Marino <marino@FreeBSD.org> | 2014-02-05 18:35:40 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-02-05 18:35:40 +0000 |
commit | 41eeb919fb8199d975ec4ec183186a8537190ae3 (patch) | |
tree | 98e8a3e09321d714b30355f6165a28def1dae1e4 /sysutils | |
parent | e602d06cfa8a435a4ed627380e44a86cb0dfdbba (diff) | |
download | ports-41eeb919fb8199d975ec4ec183186a8537190ae3.tar.gz ports-41eeb919fb8199d975ec4ec183186a8537190ae3.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dvd+rw-tools/files/patch-Makefile.m4 | 10 | ||||
-rw-r--r-- | sysutils/dvd+rw-tools/files/patch-growisofs.c | 30 | ||||
-rw-r--r-- | sysutils/dvd+rw-tools/files/patch-mp.h | 12 | ||||
-rw-r--r-- | sysutils/dvd+rw-tools/files/patch-transport.hxx | 11 |
4 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/dvd+rw-tools/files/patch-Makefile.m4 b/sysutils/dvd+rw-tools/files/patch-Makefile.m4 new file mode 100644 index 000000000000..a1ab7cf53702 --- /dev/null +++ b/sysutils/dvd+rw-tools/files/patch-Makefile.m4 @@ -0,0 +1,10 @@ +--- Makefile.m4.orig 2013-01-15 00:37:00.032987000 +0100 ++++ Makefile.m4 2013-01-15 00:44:01.343576000 +0100 +@@ -13,6 +13,7 @@ + ifelse(substr(OS,0,7),[MINGW32],[define([OS],[MINGW32])]) + ifelse(OS,NetBSD,[define([OS],[BSD])CXXFLAGS+=-D__unix]) + ifelse(OS,OpenBSD,[define([OS],[BSD])]) ++ifelse(OS,DragonFly,[define([OS],[BSD])LDLIBS=-lcam]) + ifelse(OS,FreeBSD,[define([OS],[BSD])LDLIBS=-lcam]) + ifelse(OS,IRIX64,[define([OS],[IRIX])]) + diff --git a/sysutils/dvd+rw-tools/files/patch-growisofs.c b/sysutils/dvd+rw-tools/files/patch-growisofs.c new file mode 100644 index 000000000000..d4a91a124411 --- /dev/null +++ b/sysutils/dvd+rw-tools/files/patch-growisofs.c @@ -0,0 +1,30 @@ +--- growisofs.c.orig 2008-03-04 10:15:03.000000000 +0100 ++++ growisofs.c 2013-01-15 00:53:04.894335000 +0100 +@@ -409,7 +409,7 @@ + # define _GNU_SOURCE + # endif + #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \ +- (defined(__APPLE__) && defined(__MACH__)) ++ (defined(__APPLE__) && defined(__MACH__)) || defined(__DragonFly__) + # define off64_t off_t + # if !defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) || \ + __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__<1050 +@@ -995,7 +995,7 @@ + goto open_rw; + } + +-#elif defined(__FreeBSD__) ++#elif defined(__FreeBSD__) || defined(__DragonFly__) + + #include <sys/cdio.h> + #include <camlib.h> +@@ -2940,7 +2940,9 @@ + # ifdef __FreeBSD__ + syscall(SYS_mlockall,3); + # else ++# if !defined(__DragonFly__) + mlockall(MCL_CURRENT|MCL_FUTURE); ++# endif + # endif + } while (0); + diff --git a/sysutils/dvd+rw-tools/files/patch-mp.h b/sysutils/dvd+rw-tools/files/patch-mp.h new file mode 100644 index 000000000000..58aa5de6372a --- /dev/null +++ b/sysutils/dvd+rw-tools/files/patch-mp.h @@ -0,0 +1,12 @@ +--- mp.h.orig 2008-02-24 18:56:07.000000000 +0100 ++++ mp.h 2013-01-15 00:54:45.484476000 +0100 +@@ -46,7 +46,9 @@ + + if (pthread_attr_init(&attr)==0 && + pthread_attr_setstacksize(&attr,stack_sz)==0 && ++#if !defined(__DragonFly__) + pthread_attr_setscope(&attr,PTHREAD_SCOPE_SYSTEM)==0 && ++#endif + pthread_create(&h,&attr,(void *(*)(void *))func,arg)==0 ) + return (void *)h; + diff --git a/sysutils/dvd+rw-tools/files/patch-transport.hxx b/sysutils/dvd+rw-tools/files/patch-transport.hxx new file mode 100644 index 000000000000..5975b71a6201 --- /dev/null +++ b/sysutils/dvd+rw-tools/files/patch-transport.hxx @@ -0,0 +1,11 @@ +--- transport.hxx.orig 2013-01-15 00:38:53.673146000 +0100 ++++ transport.hxx 2013-01-15 00:39:31.283199000 +0100 +@@ -483,7 +483,7 @@ + { return 1; } + }; + +-#elif defined(__FreeBSD__) ++#elif defined(__FreeBSD__) || defined(__DragonFly__) + + #include <sys/ioctl.h> + #include <camlib.h> |