summaryrefslogtreecommitdiffstats
path: root/package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-04-30 14:23:22 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-30 17:38:33 +0200
commit8da12d37d5e02ffebcd4c3011212118c08ad2a07 (patch)
tree045ea23d1727efa72290bb5ccc13c0099da09602 /package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch
parent5fb8fbbb3e776a186731ae929244a82ea2db1878 (diff)
downloadbuildroot-8da12d37d5e02ffebcd4c3011212118c08ad2a07.tar.gz
buildroot-8da12d37d5e02ffebcd4c3011212118c08ad2a07.zip
libebml: fix build on some toolchains
Replace climits include by limits (retrieve upstream patch from: https://github.com/Matroska-Org/libebml/commit/e46906b80e7662fb78d305f576412f9fa4a22218) Fixes: - http://autobuild.buildroot.net/results/3c2402a7052acb67fc7e03ad2ff27e84534aaa36 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch')
-rw-r--r--package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch b/package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch
new file mode 100644
index 0000000000..d6e906fe7b
--- /dev/null
+++ b/package/libebml/0001-EbmlSInteger-Use-limits-instead-of-climits.patch
@@ -0,0 +1,28 @@
+From e46906b80e7662fb78d305f576412f9fa4a22218 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
+Date: Mon, 23 Apr 2018 12:05:42 +0200
+Subject: [PATCH] EbmlSInteger: Use <limits> instead of <climits>
+
+The former is the proper header to use for std::numerical_limits
+
+Retrieved from:
+https://github.com/Matroska-Org/libebml/commit/e46906b80e7662fb78d305f576412f9fa4a22218
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ src/EbmlSInteger.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/EbmlSInteger.cpp b/src/EbmlSInteger.cpp
+index 33f3637..b930f7d 100644
+--- a/src/EbmlSInteger.cpp
++++ b/src/EbmlSInteger.cpp
+@@ -33,7 +33,7 @@
+ \author Moritz Bunkus <moritz @ bunkus.org>
+ */
+ #include <cassert>
+-#include <climits>
++#include <limits>
+
+ #include "ebml/EbmlSInteger.h"
+
OpenPOWER on IntegriCloud