summaryrefslogtreecommitdiff
path: root/audio/openal/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/openal/patches/patch-aa')
-rw-r--r--audio/openal/patches/patch-aa11
1 files changed, 8 insertions, 3 deletions
diff --git a/audio/openal/patches/patch-aa b/audio/openal/patches/patch-aa
index 6e8a606bfae..328c00d1883 100644
--- a/audio/openal/patches/patch-aa
+++ b/audio/openal/patches/patch-aa
@@ -1,10 +1,15 @@
-$NetBSD: patch-aa,v 1.2 2007/01/03 07:03:15 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2007/04/06 15:47:29 obache Exp $
--- src/backends/alc_backend_bsd.c.orig 2006-01-05 15:11:20.000000000 +0000
+++ src/backends/alc_backend_bsd.c
-@@ -10,14 +10,22 @@
+@@ -9,15 +9,27 @@
+ */
#include "al_siteconfig.h"
++#ifdef __NetBSD__
++#define _NETBSD_SOURCE
++#endif
++
#include <AL/al.h>
+#include <AL/alext.h>
#include <assert.h>
@@ -25,7 +30,7 @@ $NetBSD: patch-aa,v 1.2 2007/01/03 07:03:15 wiz Exp $
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
-@@ -210,7 +218,11 @@ void release_native(void *handle) {
+@@ -210,7 +222,11 @@ void release_native(void *handle) {
handle_fd = *(int *) handle;