From 8264d7730f155b8a3dad396db2743616ab12260c Mon Sep 17 00:00:00 2001 From: kth5 Date: Thu, 13 Jun 2024 21:49:49 +0200 Subject: [PATCH] * update rapidjson to 1.1.0-6 --- rapidjson/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rapidjson/PKGBUILD b/rapidjson/PKGBUILD index fffb2b1019..ee0754ce54 100644 --- a/rapidjson/PKGBUILD +++ b/rapidjson/PKGBUILD @@ -6,20 +6,23 @@ pkgname=rapidjson pkgver=1.1.0 -pkgrel=5 +pkgrel=6 pkgdesc="Fast JSON parser/generator for C++ with both SAX/DOM style API" -arch=('any') +arch=(any) url="https://github.com/miloyip/rapidjson" license=('MIT') makedepends=('cmake') checkdepends=('gtest' 'valgrind') -source=(https://github.com/miloyip/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz) -sha512sums=('2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff') +source=(https://github.com/miloyip/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz + https://github.com/Tencent/rapidjson/commit/3b2441b8.patch) +sha512sums=('2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff' + '5002ff20a65b7d057411e39adf7f5a29eddff818d20579900b655df4d838b984a1b68f488232e1990b592943a70943619d924da1c4e1d2ce0d3ef65bc40f75d6') prepare() { cd $pkgname-$pkgver find -name CMakeLists.txt | xargs sed -e 's|-march=native||' -i # Don't employ native optimization find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i # Don't use -Werror + patch -p1 -i ../3b2441b8.patch # Fix build with GCC 14 } build () {