generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
@ -0,0 +1,40 @@
|
||||
From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001
|
||||
From: Moritz Bunkus <mo@bunkus.online>
|
||||
Date: Sat, 27 Feb 2021 20:36:52 +0100
|
||||
Subject: [PATCH] include appropriate header files for std::numeric_limits
|
||||
|
||||
Fixes #80.
|
||||
|
||||
[Retrieved (and updated to remove ChangeLog update) from:
|
||||
https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
ChangeLog | 4 ++++
|
||||
src/EbmlString.cpp | 1 +
|
||||
src/EbmlUnicodeString.cpp | 1 +
|
||||
3 files changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp
|
||||
index 27e55fd..4c05fcf 100644
|
||||
--- 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"
|
||||
|
||||
diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp
|
||||
index 496a16a..99fc073 100644
|
||||
--- a/src/EbmlUnicodeString.cpp
|
||||
+++ b/src/EbmlUnicodeString.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
+#include <limits>
|
||||
|
||||
#include "ebml/EbmlUnicodeString.h"
|
||||
|
||||
12
package/libebml/Config.in
Normal file
12
package/libebml/Config.in
Normal file
@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBEBML
|
||||
bool "libebml"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
Access library for the EBML (Extensible Binary Meta
|
||||
Language, a binary derivative of XML) format.
|
||||
|
||||
http://matroska.org
|
||||
|
||||
comment "libebml needs a toolchain w/ C++, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
||||
3
package/libebml/libebml.hash
Normal file
3
package/libebml/libebml.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 41c7237ce05828fb220f62086018b080af4db4bb142f31bec0022c925889b9f2 libebml-1.4.2.tar.xz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL
|
||||
15
package/libebml/libebml.mk
Normal file
15
package/libebml/libebml.mk
Normal file
@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# libebml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEBML_VERSION = 1.4.2
|
||||
LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.xz
|
||||
LIBEBML_SITE = http://dl.matroska.org/downloads/libebml
|
||||
LIBEBML_INSTALL_STAGING = YES
|
||||
LIBEBML_LICENSE = LGPL-2.1+
|
||||
LIBEBML_LICENSE_FILES = LICENSE.LGPL
|
||||
LIBEBML_CPE_ID_VENDOR = matroska
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user