rapidxml: add patch to fix usage with gcc 4.7+
authorJames Knight <james.knight@rockwellcollins.com>
Thu, 29 Sep 2016 21:26:29 +0000 (17:26 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Oct 2016 21:07:22 +0000 (23:07 +0200)
commitb3532dec3739d1f21226bc2087fd8667d87a3916
treefb8166ae21000305771ad138c2e34aff2a406900
parent46a373e2f59356f70a551507b7b8dc2943fe49ff
rapidxml: add patch to fix usage with gcc 4.7+

The official `rapidxml` package release only supports up to GCC 4.6.x
for all capabilities. Implementers attempting to include the file
"rapidxml_print.hpp" will all result in a compilation failure when using
a currently supported Buildroot GCC version (all 4.7+ at this time).
With the provided patch, dependent packages will be able to use all of
rapidxml's capabilities using a generated toolchain from Buildroot (let
alone external toolchains).

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
[Thomas: rework patch so that it contains the proper line endings, and
applies properly without a pre-patch hook to convert the line endings
beforehand.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch [new file with mode: 0644]