libebml: fix compilation with GCC11
authorRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 02:41:21 +0000 (19:41 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 7 Jul 2021 21:55:26 +0000 (14:55 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libebml/patches/010-gcc11.patch [new file with mode: 0644]

diff --git a/libs/libebml/patches/010-gcc11.patch b/libs/libebml/patches/010-gcc11.patch
new file mode 100644 (file)
index 0000000..0631c6d
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/src/EbmlString.cpp
++++ b/src/EbmlString.cpp
+@@ -34,6 +34,7 @@
+   \author Steve Lhomme     <robux4 @ users.sf.net>
+ */
+ #include <cassert>
++#include <limits>
+ #include "ebml/EbmlString.h"
+--- a/src/EbmlUnicodeString.cpp
++++ b/src/EbmlUnicodeString.cpp
+@@ -36,6 +36,7 @@
+ */
+ #include <cassert>
++#include <limits>
+ #include "ebml/EbmlUnicodeString.h"