jsoncpp: Update to 1.9.3
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
pkgbase="jsoncpp"
|
||||
pkgname=("${pkgbase}" "${pkgbase}-devel")
|
||||
pkgver=1.9.1
|
||||
pkgrel=2
|
||||
pkgver=1.9.3
|
||||
pkgrel=1
|
||||
pkgdesc="A C++ library for interacting with JSON"
|
||||
arch=('any')
|
||||
url="https://github.com/open-source-parsers/jsoncpp"
|
||||
@@ -11,14 +11,10 @@ license=('MIT')
|
||||
depends=("gcc-libs")
|
||||
makedepends=("gcc"
|
||||
"cmake"
|
||||
"python3")
|
||||
"python")
|
||||
options=('staticlibs' '!strip' '!buildflags')
|
||||
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/jsoncpp/archive/${pkgver}.tar.gz")
|
||||
sha256sums=('c7b40f5605dd972108f503f031b20186f5e5bca2b65cd4b8bd6c3e4ba8126697')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
}
|
||||
sha256sums=('8593c1d69e703563d94d8c12244e2e18893eeb9a8a9f8aa3d09a327aa45c8f7d')
|
||||
|
||||
build() {
|
||||
declare -a extra_config
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- jsoncpp-1.6.2/src/lib_json/json_writer.cpp.old 2015-04-11 20:45:33.000000000 +0100
|
||||
+++ jsoncpp-1.6.2/src/lib_json/json_writer.cpp 2015-06-05 00:14:09.610468200 +0100
|
||||
@@ -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(__CYGWIN__)
|
||||
#define snprintf std::snprintf
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user