summaryrefslogtreecommitdiff
path: root/audio/openal/patches/patch-aa
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-04-06 15:47:29 +0000
committerobache <obache@pkgsrc.org>2007-04-06 15:47:29 +0000
commit70c2d11081d86d04e6c03993fc50f9417af23841 (patch)
treed1635829260a7fd2285452976f06de9b156108d4 /audio/openal/patches/patch-aa
parent743197e3d581bdf60ac239edc826c10b70244d36 (diff)
downloadpkgsrc-70c2d11081d86d04e6c03993fc50f9417af23841.tar.gz
define _NETBSD_SOURCE for fixing build problem on NetBSD 3.1.
XXX: define here. if pass this definision to configure, try to build solaris XXX: backend, raise another build problem.
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;