update buildroot to 2017.02.11

This commit is contained in:
jbnadal
2018-05-22 15:35:47 +02:00
parent 4bf1f5e091
commit a3c10bd762
9257 changed files with 433426 additions and 1701 deletions

View File

@@ -0,0 +1,38 @@
[PATCH] ensure internal print operations are declared before use
Stock rapidxml-1.13 does not allow implementers of the
`rapidxml_print.hpp` header to build under GCC 4.7 (or newer) due to
compliation issues. This is a result of "Name lookup changes" introduced
in GCC 4.7 [1]. The following adds forward declarations required to
compile with GCC 4.7+.
This issue has been mentioned upstream [2], but it has yet to be fixed
in official sources.
[1]: https://gcc.gnu.org/gcc-4.7/porting_to.html
[2]: https://sourceforge.net/p/rapidxml/bugs/16/
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Index: b/rapidxml_print.hpp
===================================================================
--- a/rapidxml_print.hpp
+++ b/rapidxml_print.hpp
@@ -101,7 +101,16 @@
///////////////////////////////////////////////////////////////////////////
// Internal printing operations
-
+
+ template<class OutIt, class Ch> inline OutIt print_cdata_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_children(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_comment_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_data_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_doctype_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_element_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_pi_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+
// Print node
template<class OutIt, class Ch>
inline OutIt print_node(OutIt out, const xml_node<Ch> *node, int flags, int indent)

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_RAPIDXML
bool "rapidxml"
help
RapidXml is an attempt to create the fastest XML parser
possible, while retaining useability, portability and
reasonable W3C compatibility. It is an in-situ parser with
parsing speed approaching speed of strlen function executed
on the same data.
http://sourceforge.net/projects/rapidxml/
https://en.wikipedia.org/wiki/RapidXml

View File

@@ -0,0 +1,6 @@
# From https://sourceforge.net/projects/rapidxml/files/rapidxml/rapidxml%201.13/
sha1 f5fd4fbc5ad7e96045313697811d65ea8089a950 rapidxml-1.13.zip
md5 7b4b42c9331c90aded23bb55dc725d6a rapidxml-1.13.zip
# Locally calculated
sha256 c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571 rapidxml-1.13.zip

View File

@@ -0,0 +1,27 @@
################################################################################
#
# rapidxml
#
################################################################################
RAPIDXML_VERSION = 1.13
RAPIDXML_SOURCE = rapidxml-$(RAPIDXML_VERSION).zip
RAPIDXML_SITE = http://downloads.sourceforge.net/project/rapidxml/rapidxml/rapidxml%20$(RAPIDXML_VERSION)
RAPIDXML_LICENSE = Boost Software License 1.0 or MIT
RAPIDXML_LICENSE_FILES = license.txt
# C++ headers only
RAPIDXML_INSTALL_TARGET = NO
RAPIDXML_INSTALL_STAGING = YES
define RAPIDXML_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/$(RAPIDXML_SOURCE)
mv $(@D)/rapidxml-$(RAPIDXML_VERSION)/* $(@D)/
rmdir $(@D)/rapidxml-$(RAPIDXML_VERSION)
endef
define RAPIDXML_INSTALL_STAGING_CMDS
cp -dpfr $(@D)/*hpp $(STAGING_DIR)/usr/include
endef
$(eval $(generic-package))