From 9da968b68e0214d94e2bfffb8f93a2e549d1bd35 Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 6 Apr 2007 15:47:29 +0000 Subject: 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. --- audio/openal/distinfo | 4 ++-- audio/openal/patches/patch-aa | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'audio') 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 +#include #include @@ -25,7 +30,7 @@ $NetBSD: patch-aa,v 1.2 2007/01/03 07:03:15 wiz Exp $ #include #include #include -@@ -210,7 +218,11 @@ void release_native(void *handle) { +@@ -210,7 +222,11 @@ void release_native(void *handle) { handle_fd = *(int *) handle; -- cgit v1.2.3