aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-12-18 03:35:36 +0000
committerJohn Marino <marino@FreeBSD.org>2016-12-18 03:35:36 +0000
commitc274b176b4010f5aa1bb8e0b5c9bde2bca1df34d (patch)
tree8445b244b6387c834296a54f0d64e0481299bcc3 /audio
parent779780536db296f0ad69211e9ed6722beab051a7 (diff)
downloadports-c274b176b4010f5aa1bb8e0b5c9bde2bca1df34d.tar.gz
ports-c274b176b4010f5aa1bb8e0b5c9bde2bca1df34d.zip
audio/libworkman: Bring in DF support from dports
Notes
Notes: svn path=/head/; revision=428826
Diffstat (limited to 'audio')
-rw-r--r--audio/libworkman/files/patch-include_wm__config.h11
-rw-r--r--audio/libworkman/files/patch-plat__freebsd.c19
2 files changed, 30 insertions, 0 deletions
diff --git a/audio/libworkman/files/patch-include_wm__config.h b/audio/libworkman/files/patch-include_wm__config.h
new file mode 100644
index 000000000000..f96f67f31599
--- /dev/null
+++ b/audio/libworkman/files/patch-include_wm__config.h
@@ -0,0 +1,11 @@
+--- include/wm_config.h.orig 1999-05-05 16:34:22 UTC
++++ include/wm_config.h
+@@ -133,7 +133,7 @@
+ *** ****** ** ** ****** ****** ** ****** ** * **********
+ *** ****** ** ** ** ** **** *** ***********
+ ******************************************************************/
+-#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+
+ #define DEFAULT_CD_DEVICE "/dev/rmatcd0c"
+
diff --git a/audio/libworkman/files/patch-plat__freebsd.c b/audio/libworkman/files/patch-plat__freebsd.c
index 64d87afa63a9..15975472fd28 100644
--- a/audio/libworkman/files/patch-plat__freebsd.c
+++ b/audio/libworkman/files/patch-plat__freebsd.c
@@ -1,5 +1,14 @@
--- plat_freebsd.c.orig 1999-03-07 08:36:40 UTC
+++ plat_freebsd.c
+@@ -30,7 +30,7 @@
+ *
+ */
+
+-#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+
+ static char freebsd_id[] = "$Id: plat_freebsd.c,v 1.8 1999/03/07 08:36:40 dirk Exp $";
+
@@ -49,7 +49,6 @@ static char freebsd_id[] = "$Id: plat_fr
#include <sys/time.h>
#include <sys/ioctl.h>
@@ -8,3 +17,13 @@
#if defined(__NetBSD__)
# define MSF_MINUTES 1
+@@ -60,9 +59,6 @@ static char freebsd_id[] = "$Id: plat_fr
+ #else
+ # define LEFT_PORT 0
+ # define RIGHT_PORT 1
+-# if __FreeBSD_version < 300000
+-# include <scsi.h>
+-# endif
+ #endif
+
+ #include "include/wm_struct.h"