From ef1324e50580dbbbc287a4d25e50fb1cef0218d7 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 18 Dec 2016 01:51:03 +0000 Subject: audio/py-cddb: Fix build on DF (taken from dports) --- audio/py-cddb/files/patch-unix_cdrommodule.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 audio/py-cddb/files/patch-unix_cdrommodule.c (limited to 'audio') 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 + #endif + +-#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__) ++#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) + #include + #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 -- cgit v1.2.3