pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/libogg



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sun May 15 05:50:49 UTC 2022

Modified Files:
        pkgsrc/multimedia/libogg: distinfo
        pkgsrc/multimedia/libogg/patches: patch-include_ogg_os__types.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/multimedia/libogg/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/libogg/distinfo
diff -u pkgsrc/multimedia/libogg/distinfo:1.19 pkgsrc/multimedia/libogg/distinfo:1.20
--- pkgsrc/multimedia/libogg/distinfo:1.19      Tue Oct 26 11:01:10 2021
+++ pkgsrc/multimedia/libogg/distinfo   Sun May 15 05:50:49 2022
@@ -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

Index: pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h
diff -u pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h:1.2 pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h:1.3
--- pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h:1.2  Mon Jun  7 09:12:32 2021
+++ pkgsrc/multimedia/libogg/patches/patch-include_ogg_os__types.h      Sun May 15 05:50:49 2022
@@ -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__)
+ 



Home | Main Index | Thread Index | Old Index