summaryrefslogtreecommitdiff
path: root/audio/dap/files/patch-ab
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-06-28 13:43:01 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-06-28 13:43:01 +0000
commitfe7d808a963075901bc585187d20f81eb85e6a78 (patch)
treeb5fe07f2af736989b6d69300cf237d42d822275c /audio/dap/files/patch-ab
parent- Update to version 0.6.8 (diff)
Update to 2.1.1
PR: 19362 Submitted by: maintainer
Diffstat (limited to 'audio/dap/files/patch-ab')
-rw-r--r--audio/dap/files/patch-ab27
1 files changed, 7 insertions, 20 deletions
diff --git a/audio/dap/files/patch-ab b/audio/dap/files/patch-ab
index 1652219de198..d854b26d0b03 100644
--- a/audio/dap/files/patch-ab
+++ b/audio/dap/files/patch-ab
@@ -1,28 +1,15 @@
---- 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 @@
- |
- ****************************************************************************/
-
--#ifdef LINUX
-+#if defined(LINUX) || defined(__FreeBSD__)
-
- #ifndef _audio_h
+diff -urN ../dap-2.1.1.orig/libaudio/audio.h ./libaudio/audio.h
+--- ../dap-2.1.1.orig/libaudio/audio.h Tue Feb 29 10:16:06 2000
++++ ./libaudio/audio.h Sun Jun 11 14:22:12 2000
+@@ -20,7 +20,11 @@
#define _audio_h
#include <stdio.h>
-+#ifndef __FreeBSD__
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
#include <malloc.h>
+#endif
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
-@@ -33,6 +35,8 @@
- #include <sys/ioctl.h>
- #ifdef __NetBSD__
- #include <soundcard.h>
-+#elif defined(__FreeBSD__)
-+#include <machine/soundcard.h>
- #else
- #include <sys/soundcard.h>
- #endif