diff options
author | tron <tron@pkgsrc.org> | 2010-11-11 18:36:13 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2010-11-11 18:36:13 +0000 |
commit | 5b8aa2212cb9210b216117e812ceecf00c5a418d (patch) | |
tree | eedcadb4aba2c2b16a7db896485463232147d4ce /multimedia/libogg | |
parent | e6867fa6252f6f8091f48290f959a5689d8d923a (diff) | |
download | pkgsrc-5b8aa2212cb9210b216117e812ceecf00c5a418d.tar.gz |
Don't use obsolete types under Mac OS X. This fixes the build of at
least the "flac" package.
Diffstat (limited to 'multimedia/libogg')
-rw-r--r-- | multimedia/libogg/patches/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
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 <inttypes.h> + 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__) |