package/jsoncpp: bump to version 1.6.5
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 11 Aug 2015 07:46:46 +0000 (09:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Aug 2015 09:05:49 +0000 (11:05 +0200)
commitf9280fd9e9f9a4bb108327362559cccac6186b3b
tree4a36adb1bdcc865fb4f33dc6c66f45a4e52bb67f
parentc994d5638310e0a6e5110bd11e51ab0d56188cad
package/jsoncpp: bump to version 1.6.5

Remove patch 0001-Revert-Use-std-namespace-for-snprintf.patch:
This patch was initially intented to remove upstream commit
1c58876185d2a4ed87dac4a54b82f607e74f55fd to disable std::snprintf() for all
compilers. However, the patch actually reverts upstream commit
240ddb6a1b7aae7c6528e328995812ee695a73af which only uses std namespace if the
compiler defines __cplusplus >= 201103L, thus is a recent C++11 compiler.

Furthermore, upstream commit fac87108a49fb1b2640eff5d8e4cc7a12723a510 adds
the `-std=c++11` compiler flag to gcc, so jsoncpp now requires a C++11 compiler
either way.

With jsoncpp requiring a recent C++11 compiler we need at least gcc 4.7.

Backport patch from upstream [1] to remove `-Werror` from the compiler flags to
allow building with CS ARM toolchains.

[1]
https://github.com/open-source-parsers/jsoncpp/commit/d7b84f69c5e92178e110552cce27f900744e1779

Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jsoncpp/0001-Remove-Werror.patch [new file with mode: 0644]
package/jsoncpp/0001-Revert-Use-std-namespace-for-snprintf.patch [deleted file]
package/jsoncpp/Config.in
package/jsoncpp/jsoncpp.mk