diff options
author | dholland <dholland@pkgsrc.org> | 2022-05-15 05:50:49 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2022-05-15 05:50:49 +0000 |
commit | 7a553ac0ab4e839f2073629db309c2ccc6656edb (patch) | |
tree | 77362031f498b5dac1c99b02daaacc9cadd76d56 /multimedia/libogg | |
parent | 65b9708ed4fb8c3b73931f132ae4b51afdd36eec (diff) | |
download | pkgsrc-7a553ac0ab4e839f2073629db309c2ccc6656edb.tar.gz |
PR 56708 John Klos: audio/libvorbis fails on macOS El Capitan
When including <stdint.h>, use the types it defines, not the legacy
ones with extra (internal) underscores.
Diffstat (limited to 'multimedia/libogg')
-rw-r--r-- | multimedia/libogg/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libogg/patches/patch-include_ogg_os__types.h | 22 |
2 files changed, 18 insertions, 8 deletions
diff --git a/multimedia/libogg/distinfo b/multimedia/libogg/distinfo index a60076a8b13..2fa77068d14 100644 --- a/multimedia/libogg/distinfo +++ b/multimedia/libogg/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.19 2021/10/26 11:01:10 nia Exp $ +$NetBSD: distinfo,v 1.20 2022/05/15 05:50:49 dholland Exp $ BLAKE2s (libogg-1.3.5.tar.xz) = 85854a6a2f8a2c5073b2f2f0afe6191ff5f20cdfe93d5804084d66700cb1ab7e SHA512 (libogg-1.3.5.tar.xz) = 5d1cbc2a3a1fcf5543f5729bd5eb560cfc740c5d17a2492ead137970c45e6203ec1f5de536d77c4b73ece9e3b0046eaa9181c02a09de72ac7ae51b1fca1e1ee7 Size (libogg-1.3.5.tar.xz) = 429076 bytes SHA1 (patch-configure) = 0fd4901eac9d5325185ab42935fa92a80eef34c5 -SHA1 (patch-include_ogg_os__types.h) = 001ac30d920b02cd5dbb51883fdacf237e2613bf +SHA1 (patch-include_ogg_os__types.h) = 706ee71a4e86bb739bdc1fca6b2b5cb06abea6b8 diff --git a/multimedia/libogg/patches/patch-include_ogg_os__types.h b/multimedia/libogg/patches/patch-include_ogg_os__types.h index 5de069472e6..d16556010b9 100644 --- a/multimedia/libogg/patches/patch-include_ogg_os__types.h +++ b/multimedia/libogg/patches/patch-include_ogg_os__types.h @@ -1,17 +1,27 @@ -$NetBSD: patch-include_ogg_os__types.h,v 1.2 2021/06/07 09:12:32 adam Exp $ +$NetBSD: patch-include_ogg_os__types.h,v 1.3 2022/05/15 05:50:49 dholland Exp $ use stdint.h on macos -This was broken by a recent change. See comments in: -https://gitlab.xiph.org/xiph/ogg/issues/2294 +also use the types that are defined by stdint.h, not the legacy ones. ---- include/ogg/os_types.h.orig 2021-06-07 08:37:18.000000000 +0000 +See https://gitlab.xiph.org/xiph/ogg/issues/2294 + +--- include/ogg/os_types.h.orig 2020-05-04 17:14:04.000000000 +0000 +++ include/ogg/os_types.h -@@ -70,7 +70,7 @@ +@@ -70,13 +70,13 @@ #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ -# include <sys/types.h> +# include <stdint.h> typedef int16_t ogg_int16_t; - typedef u_int16_t ogg_uint16_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; +- typedef u_int64_t ogg_uint64_t; ++ typedef uint64_t ogg_uint64_t; + + #elif defined(__HAIKU__) + |