pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libogg multimedia/libogg: use stdint.h on d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9081fb127115
branches:  trunk
changeset: 339215:9081fb127115
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Sun Sep 08 19:11:30 2019 +0000

description:
multimedia/libogg: use stdint.h on darwin

broken by https://gitlab.xiph.org/xiph/ogg/issues/2294
see discussion

diffstat:

 multimedia/libogg/Makefile                              |   3 ++-
 multimedia/libogg/distinfo                              |   3 ++-
 multimedia/libogg/patches/patch-include_ogg_os__types.h |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r a486d383c2cc -r 9081fb127115 multimedia/libogg/Makefile
--- a/multimedia/libogg/Makefile        Sun Sep 08 16:31:33 2019 +0000
+++ b/multimedia/libogg/Makefile        Sun Sep 08 19:11:30 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2019/09/02 08:58:57 adam Exp $
+# $NetBSD: Makefile,v 1.27 2019/09/08 19:11:30 dbj Exp $
 
 DISTNAME=      libogg-1.3.4
+PKGREVISION=   1
 CATEGORIES=    multimedia devel
 MASTER_SITES=  http://downloads.xiph.org/releases/ogg/
 EXTRACT_SUFX=  .tar.xz
diff -r a486d383c2cc -r 9081fb127115 multimedia/libogg/distinfo
--- a/multimedia/libogg/distinfo        Sun Sep 08 16:31:33 2019 +0000
+++ b/multimedia/libogg/distinfo        Sun Sep 08 19:11:30 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2019/09/02 08:58:57 adam Exp $
+$NetBSD: distinfo,v 1.16 2019/09/08 19:11:30 dbj Exp $
 
 SHA1 (libogg-1.3.4.tar.xz) = f07499a35566aa62affb5ca989f62eed5b8092c3
 RMD160 (libogg-1.3.4.tar.xz) = ee76a42b00bc11d483de53d9e84a487be3900d06
 SHA512 (libogg-1.3.4.tar.xz) = 09ffb72c3cbde5c05140f5879bd457106ed4070bd7aa5ea7720cf8910167f1d0fa6312f1f71625d51f21e3033219da858e1a8a2701bfd768b35061f7586f976c
 Size (libogg-1.3.4.tar.xz) = 428696 bytes
 SHA1 (patch-configure) = d33ee766a1fb7f81b9fc38930a26279aa506244a
+SHA1 (patch-include_ogg_os__types.h) = b491e3c530e285bd901618245890d4a1504ad147
diff -r a486d383c2cc -r 9081fb127115 multimedia/libogg/patches/patch-include_ogg_os__types.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libogg/patches/patch-include_ogg_os__types.h   Sun Sep 08 19:11:30 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_ogg_os__types.h,v 1.1 2019/09/08 19:11:30 dbj Exp $
+
+use stdint.h on macos
+This was broken by a recent change.  See comments in:
+https://gitlab.xiph.org/xiph/ogg/issues/2294
+
+--- include/ogg/os_types.h.orig        2019-08-13 16:31:53.000000000 +0000
++++ include/ogg/os_types.h
+@@ -70,7 +70,7 @@
+ 
+ #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
+ 
+-#  include <sys/types.h>
++#  include <stdint.h>
+    typedef int16_t ogg_int16_t;
+    typedef uint16_t ogg_uint16_t;
+    typedef int32_t ogg_int32_t;



Home | Main Index | Thread Index | Old Index