summaryrefslogtreecommitdiff
path: root/audio/dap/files/patch-ab
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-22 21:26:50 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-22 21:26:50 +0000
commite4c68617dc3b27635c0c14167ef5031efb8db311 (patch)
tree735b8f4fdf0ad10357e533244c853a5c71e126e2 /audio/dap/files/patch-ab
parentBe sure INSTALLDIR exists before we write into it. (diff)
Checksum changed on MASTER_SITE, fixup accordingly. Seems they added
support for NetBSD in the Makefiles. Other than that nothing changed.
Diffstat (limited to 'audio/dap/files/patch-ab')
-rw-r--r--audio/dap/files/patch-ab20
1 files changed, 9 insertions, 11 deletions
diff --git a/audio/dap/files/patch-ab b/audio/dap/files/patch-ab
index d5a746d0b6f5..1652219de198 100644
--- a/audio/dap/files/patch-ab
+++ b/audio/dap/files/patch-ab
@@ -1,4 +1,5 @@
-Index: libaudio/audio.h
+--- libaudio/audio.h.orig Fri Nov 12 11:35:21 1999
++++ libaudio/audio.h Sat Dec 11 13:36:15 1999
@@ -17,13 +17,15 @@
|
****************************************************************************/
@@ -10,21 +11,18 @@ Index: libaudio/audio.h
#define _audio_h
#include <stdio.h>
-+#ifndef __FreeBSD__
++#ifndef __FreeBSD__
#include <malloc.h>
+#endif
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
-@@ -31,7 +33,11 @@
- #include <sys/types.h>
- #include <sys/stat.h>
+@@ -33,6 +35,8 @@
#include <sys/ioctl.h>
-+#ifdef __FreeBSD__
+ #ifdef __NetBSD__
+ #include <soundcard.h>
++#elif defined(__FreeBSD__)
+#include <machine/soundcard.h>
-+#else
+ #else
#include <sys/soundcard.h>
-+#endif
-
- #ifdef __cplusplus
- extern "C"
+ #endif