pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libebml



Module Name:    pkgsrc
Committed By:   mcf
Date:           Wed May 12 04:03:50 UTC 2021

Modified Files:
        pkgsrc/devel/libebml: distinfo
Added Files:
        pkgsrc/devel/libebml/patches: patch-src_EbmlString.cpp
            patch-src_EbmlUnicodeString.cpp

Log Message:
libebml: fix build with gcc 11

As described in the gcc 11 porting document[0], some libstdc++
headers no longer include certain headers they don't use.

Patch from upstream.

[0] https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/libebml/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libebml/patches/patch-src_EbmlString.cpp \
    pkgsrc/devel/libebml/patches/patch-src_EbmlUnicodeString.cpp

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

Modified files:

Index: pkgsrc/devel/libebml/distinfo
diff -u pkgsrc/devel/libebml/distinfo:1.38 pkgsrc/devel/libebml/distinfo:1.39
--- pkgsrc/devel/libebml/distinfo:1.38  Thu Feb 18 19:18:50 2021
+++ pkgsrc/devel/libebml/distinfo       Wed May 12 04:03:49 2021
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.38 2021/02/18 19:18:50 adam Exp $
+$NetBSD: distinfo,v 1.39 2021/05/12 04:03:49 mcf Exp $
 
 SHA1 (libebml-1.4.2.tar.xz) = a5e545d1bf22abf8b6722f4bc2d2034bb61b2d46
 RMD160 (libebml-1.4.2.tar.xz) = 72874acce95feed780c2ee16eae07ce16713f812
 SHA512 (libebml-1.4.2.tar.xz) = b9535b60ba2716053819d48e345f161ad797a74678fdf60797d652da9dfa7cab905669dac744f30a81083341462bac6f2a0e69fa7d80ee59cf7414bffbd667d5
 Size (libebml-1.4.2.tar.xz) = 70484 bytes
+SHA1 (patch-src_EbmlString.cpp) = b5d863d9e535feda3d45e67d7c8ae359ffc06428
+SHA1 (patch-src_EbmlUnicodeString.cpp) = 899601e0f4cd3411037a8c94e4aefb0a95c1605d

Added files:

Index: pkgsrc/devel/libebml/patches/patch-src_EbmlString.cpp
diff -u /dev/null pkgsrc/devel/libebml/patches/patch-src_EbmlString.cpp:1.1
--- /dev/null   Wed May 12 04:03:50 2021
+++ pkgsrc/devel/libebml/patches/patch-src_EbmlString.cpp       Wed May 12 04:03:50 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_EbmlString.cpp,v 1.1 2021/05/12 04:03:50 mcf Exp $
+
+Fix build with gcc 11.
+
+Upstream: https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806
+
+--- src/EbmlString.cpp.orig    Wed May 12 03:52:00 2021
++++ src/EbmlString.cpp
+@@ -34,6 +34,7 @@
+   \author Steve Lhomme     <robux4 @ users.sf.net>
+ */
+ #include <cassert>
++#include <limits>
+ 
+ #include "ebml/EbmlString.h"
+ 
Index: pkgsrc/devel/libebml/patches/patch-src_EbmlUnicodeString.cpp
diff -u /dev/null pkgsrc/devel/libebml/patches/patch-src_EbmlUnicodeString.cpp:1.1
--- /dev/null   Wed May 12 04:03:50 2021
+++ pkgsrc/devel/libebml/patches/patch-src_EbmlUnicodeString.cpp        Wed May 12 04:03:50 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_EbmlUnicodeString.cpp,v 1.1 2021/05/12 04:03:50 mcf Exp $
+
+Fix build with gcc 11.
+
+Upstream: https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806
+
+--- src/EbmlUnicodeString.cpp.orig     Wed May 12 03:51:58 2021
++++ src/EbmlUnicodeString.cpp
+@@ -36,6 +36,7 @@
+ */
+ 
+ #include <cassert>
++#include <limits>
+ 
+ #include "ebml/EbmlUnicodeString.h"
+ 



Home | Main Index | Thread Index | Old Index