summaryrefslogtreecommitdiffstats
path: root/package/jsoncpp/0001-Revert-Use-std-namespace-for-snprintf.patch
Commit message (Collapse)AuthorAgeFilesLines
* package/jsoncpp: bump to version 1.6.5Jörg Krause2015-08-191-39/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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: bump version to 1.6.1Bernd Kuhls2015-04-111-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jsoncpp: fix build for non C++11 toolchainsBaruch Siach2015-03-311-0/+39
Add a patch removing reference to std::snprintf that is only in C++11. Fixes: http://autobuild.buildroot.net/results/b39/b390beeb9a6fea12f1a4d9f2ff9a8a483628cad2/ http://autobuild.buildroot.net/results/d18/d18b3e116b680a3897fbea296938e900a1e5e80a/ http://autobuild.buildroot.net/results/1b2/1b20a2f81dd2b409785930705222bc03576c4907/ and many more. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud