[vlc-commits] contribs: Fix ebml clang build

Hugo Beauzée-Luyssen git at videolan.org
Mon Apr 23 12:07:28 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Apr 23 12:03:04 2018 +0200| [612553ddf04265edaea7e27e9cf9bace21c3ad85] | committer: Hugo Beauzée-Luyssen

contribs: Fix ebml clang build

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=612553ddf04265edaea7e27e9cf9bace21c3ad85
---

 contrib/src/ebml/fix-clang-build.patch | 10 ++++++++++
 contrib/src/ebml/rules.mak             |  1 +
 2 files changed, 11 insertions(+)

diff --git a/contrib/src/ebml/fix-clang-build.patch b/contrib/src/ebml/fix-clang-build.patch
new file mode 100644
index 0000000000..dba5504d1a
--- /dev/null
+++ b/contrib/src/ebml/fix-clang-build.patch
@@ -0,0 +1,10 @@
+--- ebml/src/EbmlSInteger.cpp.old	2018-04-23 12:01:29.747339700 +0200
++++ ebml/src/EbmlSInteger.cpp	2018-04-23 12:01:53.219339286 +0200
+@@ -34,6 +34,7 @@
+ */
+ #include <cassert>
+ #include <climits>
++#include <limits>
+ 
+ #include "ebml/EbmlSInteger.h"
+ 
diff --git a/contrib/src/ebml/rules.mak b/contrib/src/ebml/rules.mak
index 570d5e4152..6c4eb7d22d 100644
--- a/contrib/src/ebml/rules.mak
+++ b/contrib/src/ebml/rules.mak
@@ -15,6 +15,7 @@ $(TARBALLS)/libebml-$(EBML_VERSION).tar.xz:
 ebml: libebml-$(EBML_VERSION).tar.xz .sum-ebml
 	$(UNPACK)
 	$(APPLY) $(SRC)/ebml/0001-fix-build-with-gcc-7.patch
+	$(APPLY) $(SRC)/ebml/fix-clang-build.patch
 	$(MOVE)
 
 # libebml requires exceptions



More information about the vlc-commits mailing list