aboutsummaryrefslogtreecommitdiff
path: root/audio/xmcd
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2004-04-11 05:27:05 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2004-04-11 05:27:05 +0000
commitfe26fe8138bb75175c237a256c6d121699f12666 (patch)
tree0ccb9e54b1045e78536fa85c44ab17b4536dc58e /audio/xmcd
parent19e8fbb2e8fb3ff4618eecfea3e6e595a418a155 (diff)
downloadports-fe26fe8138bb75175c237a256c6d121699f12666.tar.gz
ports-fe26fe8138bb75175c237a256c6d121699f12666.zip
Notes
Diffstat (limited to 'audio/xmcd')
-rw-r--r--audio/xmcd/files/patch-ah26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/xmcd/files/patch-ah b/audio/xmcd/files/patch-ah
new file mode 100644
index 000000000000..f58eb6bfb074
--- /dev/null
+++ b/audio/xmcd/files/patch-ah
@@ -0,0 +1,26 @@
+--- cdda_d/pthr.c.orig Mon Apr 5 17:41:11 2004
++++ cdda_d/pthr.c Sun Apr 11 01:15:11 2004
+@@ -35,6 +35,7 @@
+
+ #ifdef CDDA_PTHREADS
+
++#include <sys/param.h>
+ #include "cdda_d/pthr.h"
+
+ /*
+@@ -889,6 +890,7 @@
+ pthr_sem[DATA].v = 0;
+
+ #ifndef __VMS /* VMS has no real fork, so this does not apply */
++#if __FreeBSD_version >= 502100
+ /* Register fork handler */
+ if ((ret = pthread_atfork(NULL, NULL, cdda_pthr_atfork)) != 0) {
+ (void) sprintf(errbuf,
+@@ -899,6 +901,7 @@
+ cd->i->state = CDSTAT_COMPLETED;
+ return FALSE;
+ }
++#endif
+ #endif
+
+ /* Ignore SIGPIPE */