summaryrefslogtreecommitdiff
path: root/audio/openal
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
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')
-rw-r--r--audio/openal/distinfo4
-rw-r--r--audio/openal/patches/patch-aa11
2 files changed, 10 insertions, 5 deletions
diff --git a/audio/openal/distinfo b/audio/openal/distinfo
index 62b04f3e2f4..0a46d459bd7 100644
--- a/audio/openal/distinfo
+++ b/audio/openal/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2007/01/03 07:03:15 wiz Exp $
+$NetBSD: distinfo,v 1.8 2007/04/06 15:47:29 obache Exp $
SHA1 (openal-0.0.8.tar.gz) = 31aaedc18bd26759bd51f4fa495bc4ccb08acb3e
RMD160 (openal-0.0.8.tar.gz) = 29368dbceea7cfd8b5c520b9e0f0cfdc7324e265
Size (openal-0.0.8.tar.gz) = 870671 bytes
-SHA1 (patch-aa) = fbd752704cabc991b634c830c427d69dc29e80a5
+SHA1 (patch-aa) = a56bdb2f66d5899628ed6aa452d816f439778ccc
SHA1 (patch-ab) = e0bfe865021fa54fe276e1c5da312f6d3747102b
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;