aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 21:11:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 21:11:14 +0000
commit02d1b3a10b1c645029b337fa9496d3269418f043 (patch)
treec9e4eac855dd695777ffe968c66e32c2d8130d68 /audio
parent8126c83bd243cfe995391875aea50427fe79f2cc (diff)
downloadports-02d1b3a10b1c645029b337fa9496d3269418f043.tar.gz
ports-02d1b3a10b1c645029b337fa9496d3269418f043.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/workman/files/patch-aa8
-rw-r--r--audio/xcdplayer/files/patch-ab12
2 files changed, 10 insertions, 10 deletions
diff --git a/audio/workman/files/patch-aa b/audio/workman/files/patch-aa
index cbe716f193dc..969ffe59f271 100644
--- a/audio/workman/files/patch-aa
+++ b/audio/workman/files/patch-aa
@@ -218,7 +218,7 @@ diff -c --recursive ./plat_freebsd.c ../workman.new/./plat_freebsd.c
}
if (ioctl(d->fd, CDIOCREADSUBCHANNEL, &sc)) {
-! #if defined(__NetBSD__) || defined(__FreeBSD__)
+! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
/* we need to release the device so the kernel will notice
reloaded media */
(void) close(d->fd);
@@ -252,12 +252,12 @@ diff -c --recursive ./plat_freebsd.c ../workman.new/./plat_freebsd.c
if (fstatfs(stbuf.st_rdev, &buf) == 0)
return (-3);
-! #if defined(__NetBSD__) || defined(__FreeBSD__)
+! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
rval = ioctl(d->fd, CDIOCALLOW);
if (rval == 0)
#endif
rval = ioctl(d->fd, CDIOCEJECT);
-! #if defined(__NetBSD__) || defined(__FreeBSD__)
+! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
if (rval == 0)
rval = ioctl(d->fd, CDIOCPREVENT);
#endif
@@ -300,7 +300,7 @@ diff -c --recursive ./workman_stubs.c ../workman.new/./workman_stubs.c
Panel_item quitbutton;
char *getenv(), *WMstrdup();
-+ #if defined(__FreeBSD__)
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ /* FreeBSD has a special directory for pidfiles, I guess. */
+ char *pidfile = "/var/run/workman.pid";
+ #else
diff --git a/audio/xcdplayer/files/patch-ab b/audio/xcdplayer/files/patch-ab
index 645eedd96d6b..ed31ad630079 100644
--- a/audio/xcdplayer/files/patch-ab
+++ b/audio/xcdplayer/files/patch-ab
@@ -6,7 +6,7 @@
# include <X11/Xaw/Toggle.h>
# include "cdrom_globs.h"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
@@ -74,7 +74,7 @@
# include "debug.h"
# include "cdrom_globs.h"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
@@ -88,7 +88,7 @@
# include "debug.h"
# include "cdrom_globs.h"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
@@ -139,7 +139,7 @@
# include <stdio.h>
# include "cdrom_globs.h"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
@@ -208,7 +208,7 @@
# include "debug.h"
# include "cdrom_globs.h"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
@@ -258,7 +258,7 @@
# include "debug.h"
# include "cdrom_globs.h"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun