From 5b8aa2212cb9210b216117e812ceecf00c5a418d Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 11 Nov 2010 18:36:13 +0000 Subject: Don't use obsolete types under Mac OS X. This fixes the build of at least the "flac" package. --- multimedia/libogg/patches/patch-aa | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 multimedia/libogg/patches/patch-aa (limited to 'multimedia') diff --git a/multimedia/libogg/patches/patch-aa b/multimedia/libogg/patches/patch-aa new file mode 100644 index 00000000000..25020c7efab --- /dev/null +++ b/multimedia/libogg/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.3 2010/11/11 18:36:13 tron Exp $ + +Fix build problem of dependent packages under Mac OS X. + +--- include/ogg/os_types.h.orig 2010-10-26 11:56:36.000000000 +0100 ++++ include/ogg/os_types.h 2010-11-11 18:04:34.000000000 +0000 +@@ -70,9 +70,9 @@ + + # include + typedef int16_t ogg_int16_t; +- typedef u_int16_t ogg_uint16_t; ++ typedef uint16_t ogg_uint16_t; + typedef int32_t ogg_int32_t; +- typedef u_int32_t ogg_uint32_t; ++ typedef uint32_t ogg_uint32_t; + typedef int64_t ogg_int64_t; + + #elif defined(__HAIKU__) -- cgit v1.2.3