jsoncpp: Update to 1.6.5

This commit is contained in:
Fredrik Fornwall 2015-07-23 18:38:24 -04:00
parent c204de6a36
commit dc27375f20
2 changed files with 1 additions and 13 deletions

View File

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://github.com/open-source-parsers/jsoncpp
TERMUX_PKG_DESCRIPTION="C++ library for interacting with JSON"
TERMUX_PKG_VERSION=1.6.2
TERMUX_PKG_VERSION=1.6.5
TERMUX_PKG_SRCURL=https://github.com/open-source-parsers/jsoncpp/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME=jsoncpp-${TERMUX_PKG_VERSION}

View File

@ -1,12 +0,0 @@
diff -u -r ../jsoncpp-1.6.2/src/lib_json/json_writer.cpp ./src/lib_json/json_writer.cpp
--- ../jsoncpp-1.6.2/src/lib_json/json_writer.cpp 2015-04-11 15:45:33.000000000 -0400
+++ ./src/lib_json/json_writer.cpp 2015-05-20 18:05:22.382255829 -0400
@@ -29,7 +29,7 @@
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
#define snprintf _snprintf
-#elif __cplusplus >= 201103L
+#elif (__cplusplus >= 201103L) && !defined(__ANDROID__)
#define snprintf std::snprintf
#endif