diff options
Diffstat (limited to 'audio/portaudio-devel/patches/patch-ac')
-rw-r--r-- | audio/portaudio-devel/patches/patch-ac | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/portaudio-devel/patches/patch-ac b/audio/portaudio-devel/patches/patch-ac index 73dbf9b721a..35c845bab4c 100644 --- a/audio/portaudio-devel/patches/patch-ac +++ b/audio/portaudio-devel/patches/patch-ac @@ -1,18 +1,25 @@ -$NetBSD: patch-ac,v 1.1.1.1 2006/05/21 22:21:10 ben Exp $ +$NetBSD: patch-ac,v 1.2 2006/06/06 15:48:34 joerg Exp $ ---- src/hostapi/oss/pa_unix_oss.c.orig 2006-05-17 01:02:24.000000000 -0700 +--- src/hostapi/oss/pa_unix_oss.c.orig 2006-05-17 08:02:24.000000000 +0000 +++ src/hostapi/oss/pa_unix_oss.c @@ -42,7 +42,9 @@ #include <sys/ioctl.h> #include <unistd.h> #include <pthread.h> -+#if !defined(__NetBSD__) ++#if !defined(__NetBSD__) && !defined(__DragonFly__) #include <alloca.h> +#endif #include <malloc.h> #include <assert.h> #include <errno.h> -@@ -58,6 +60,9 @@ +@@ -52,12 +54,15 @@ + #include <limits.h> + #include <semaphore.h> + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + # include <sys/soundcard.h> + # define DEVICE_NAME_BASE "/dev/dsp" #elif defined __linux__ # include <linux/soundcard.h> # define DEVICE_NAME_BASE "/dev/dsp" |