summaryrefslogtreecommitdiff
path: root/audio/xcdplayer/files/patch-internals.c
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-05-22 07:21:04 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-05-22 07:21:04 +0000
commit300981f7eec34a0b5a1033ab64686d145454629b (patch)
tree47d05b95ac52106b872d68ff6abe3a1366756211 /audio/xcdplayer/files/patch-internals.c
parentAdd new port devel/py-pytest-timeout (diff)
audio/xcdplayer: unbreak on 11.0C and DragonFly
In file included from cdrom_freebsd.c:28: /usr/include/sys/buf.h:129:30: error: unknown type name 'vm_page_t' void (*pg_iodone)(void *, vm_page_t *, int, int); ^ cdrom_callb.c:59:6: error: 'cdi' undeclared (first use in this function) if (cdi.state & CDROM_STATE_EJECTED) { ^ cdrom_callb.c:59:18: error: 'CDROM_STATE_EJECTED' undeclared (first use in this function) if (cdi.state & CDROM_STATE_EJECTED) { ^ button_setup.c:583:16: error: 'NODISCSTR' undeclared (first use in this function) disc_title = NODISCSTR; ^ Reported by: pkg-fallout, DPorts Obtained from: https://github.com/jsonn/pkgsrc/commit/4afb403 (modified) Tested by: md5
Notes
Notes: svn path=/head/; revision=386988
Diffstat (limited to 'audio/xcdplayer/files/patch-internals.c')
-rw-r--r--audio/xcdplayer/files/patch-internals.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/xcdplayer/files/patch-internals.c b/audio/xcdplayer/files/patch-internals.c
index 618a26fc496c..3b5bd6b58cb0 100644
--- a/audio/xcdplayer/files/patch-internals.c
+++ b/audio/xcdplayer/files/patch-internals.c
@@ -1,10 +1,14 @@
+
+$FreeBSD$
+$NetBSD: pkgsrc/audio/xcdplayer/patches/patch-ah,v 1.4 2005/12/11 20:48:46 joerg Exp $
+
--- internals.c.orig Tue Jan 12 19:59:45 1993
+++ internals.c Wed May 30 19:20:48 2007
@@ -22,6 +22,9 @@
# include "debug.h"
# include "cdrom_globs.h"
-+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+# include "cdrom_freebsd.h"
+#endif
#ifdef sun