svn commit: r428826 - head/audio/libworkman/files
John Marino
marino at FreeBSD.org
Sun Dec 18 03:35:37 UTC 2016
Author: marino
Date: Sun Dec 18 03:35:36 2016
New Revision: 428826
URL: https://svnweb.freebsd.org/changeset/ports/428826
Log:
audio/libworkman: Bring in DF support from dports
Added:
head/audio/libworkman/files/patch-include_wm__config.h (contents, props changed)
Modified:
head/audio/libworkman/files/patch-plat__freebsd.c
Added: head/audio/libworkman/files/patch-include_wm__config.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/libworkman/files/patch-include_wm__config.h Sun Dec 18 03:35:36 2016 (r428826)
@@ -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"
+
Modified: head/audio/libworkman/files/patch-plat__freebsd.c
==============================================================================
--- head/audio/libworkman/files/patch-plat__freebsd.c Sun Dec 18 02:42:50 2016 (r428825)
+++ head/audio/libworkman/files/patch-plat__freebsd.c Sun Dec 18 03:35:36 2016 (r428826)
@@ -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"
More information about the svn-ports-head
mailing list