summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-12-18 01:51:03 +0000
committerJohn Marino <marino@FreeBSD.org>2016-12-18 01:51:03 +0000
commitef1324e50580dbbbc287a4d25e50fb1cef0218d7 (patch)
tree1ded8744ac48ecb8c225745a532a96b031c82dd0 /audio
parentSub ${PREFIX} into the manpage. (diff)
audio/py-cddb: Fix build on DF (taken from dports)
Notes
Notes: svn path=/head/; revision=428823
Diffstat (limited to 'audio')
-rw-r--r--audio/py-cddb/files/patch-unix_cdrommodule.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/py-cddb/files/patch-unix_cdrommodule.c b/audio/py-cddb/files/patch-unix_cdrommodule.c
new file mode 100644
index 000000000000..d03dfd247771
--- /dev/null
+++ b/audio/py-cddb/files/patch-unix_cdrommodule.c
@@ -0,0 +1,20 @@
+--- unix/cdrommodule.c.orig 2003-08-31 23:24:30 UTC
++++ unix/cdrommodule.c
+@@ -29,7 +29,7 @@
+ #include <linux/cdrom.h>
+ #endif
+
+-#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #include <sys/cdio.h>
+ #endif
+
+@@ -45,7 +45,7 @@
+ * so that we don't have to repeat the code.
+ */
+
+-#ifdef __FreeBSD__
++#if defined __FreeBSD__ || defined __DragonFly__
+
+ #define CDDB_TOC_HEADER_STRUCT ioc_toc_header
+ #define CDDB_STARTING_TRACK_FIELD starting_track