summaryrefslogtreecommitdiff
path: root/audio/workman/files/patch-plat__freebsd.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-06-05 10:28:12 +0000
committerRene Ladan <rene@FreeBSD.org>2020-06-05 10:28:12 +0000
commit8cb005afb5df459540a99010aa54dc7fd0db8acd (patch)
tree2b4ba3372d35cdd7bcb6e151f7c7a15a7ca369f5 /audio/workman/files/patch-plat__freebsd.c
parentNot required by gitlab-ce anymore. (diff)
Remove expired ports:
2020-06-05 audio/workman: Depends on expired x11-toolkits/xview 2020-05-05 x11-toolkits/xview: 64-bit unsupported 2020-06-05 math/p5-Algorithm-KMeans: Depends on expired math/p5-Math-GSL 2020-05-05 math/p5-Math-GSL: Broken for more than 6 months 2020-06-05 net/openbsc: Depends on expired devel/libosmo-netif 2020-05-05 devel/libosmo-netif: Broken for more than 6 months 2020-06-05 audio/xvmixer: Depends on expired x11-toolkits/xview 2020-06-05 devel/libosmo-sccp: Depends on expired devel/libosmo-netif 2020-06-05 audio/p5-Audio: Depends on expired math/p5-Math-GSL
Diffstat (limited to 'audio/workman/files/patch-plat__freebsd.c')
-rw-r--r--audio/workman/files/patch-plat__freebsd.c69
1 files changed, 0 insertions, 69 deletions
diff --git a/audio/workman/files/patch-plat__freebsd.c b/audio/workman/files/patch-plat__freebsd.c
deleted file mode 100644
index 8c90722618d0..000000000000
--- a/audio/workman/files/patch-plat__freebsd.c
+++ /dev/null
@@ -1,69 +0,0 @@
---- plat_freebsd.c.orig 1995-02-20 17:29:55 UTC
-+++ plat_freebsd.c
-@@ -5,6 +5,9 @@
- *
- * Todd Pfaff, 3/20/94
- *
-+ * 11/26/95: Modified to work under FreeBSD 2.x
-+ * by Donald Burr <d_burr@ix.netcom.com>
-+ *
- */
- static char *ident = "@(#)plat_freebsd.c 1.2 2/20/95";
-
-@@ -22,21 +25,17 @@ static char *ident = "@(#)plat_freebsd.c
- #include <string.h>
- #include <sys/ioctl.h>
- #include <sys/cdio.h>
--#include <sys/scsiio.h>
- #ifdef __NetBSD__
- #define MSF_MINUTES 1
- #define MSF_SECONDS 2
- #define MSF_FRAMES 3
- #include "/sys/scsi/scsi_all.h"
- #include "/sys/scsi/scsi_cd.h"
--#else
--#include <scsi/scsi_all.h>
--#include <scsi/scsi_cd.h>
- #endif
-
- #include "struct.h"
-
--#define DEFAULT_CD_DEVICE "/dev/rcd0d"
-+#define DEFAULT_CD_DEVICE "/dev/rcd0c"
-
- void *malloc();
-
-@@ -163,7 +162,7 @@ gen_get_drive_status(d, oldmode, mode, p
- }
-
- if (ioctl(d->fd, CDIOCREADSUBCHANNEL, &sc)) {
--#ifdef __NetBSD__
-+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
- /* we need to release the device so the kernel will notice
- reloaded media */
- (void) close(d->fd);
-@@ -261,6 +260,9 @@ gen_set_volume(d, left, right)
-
- bzero((char *)&vol, sizeof(vol));
-
-+#define LEFT_PORT 0
-+#define RIGHT_PORT 1
-+
- vol.vol[LEFT_PORT] = left;
- vol.vol[RIGHT_PORT] = right;
-
-@@ -345,12 +347,12 @@ gen_eject(d)
- if (fstatfs(stbuf.st_rdev, &buf) == 0)
- return (-3);
-
--#ifdef __NetBSD__
-+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
- rval = ioctl(d->fd, CDIOCALLOW);
- if (rval == 0)
- #endif
- rval = ioctl(d->fd, CDIOCEJECT);
--#ifdef __NetBSD__
-+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
- if (rval == 0)
- rval = ioctl(d->fd, CDIOCPREVENT);
- #endif