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