Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
rapidjson


Commits:
20e6c15a by Antonio Rojas at 2024-05-10T00:42:50+02:00
upgpkg: 1.1.0-6: Fix build with GCC 14

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = rapidjson
+       pkgdesc = Fast JSON parser/generator for C++ with both SAX/DOM style API
+       pkgver = 1.1.0
+       pkgrel = 6
+       url = https://github.com/miloyip/rapidjson
+       arch = any
+       license = MIT
+       checkdepends = gtest
+       checkdepends = valgrind
+       makedepends = cmake
+       source = 
https://github.com/miloyip/rapidjson/archive/v1.1.0/rapidjson-1.1.0.tar.gz
+       source = https://github.com/Tencent/rapidjson/commit/3b2441b8.patch
+       sha512sums = 
2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff
+       sha512sums = 
5002ff20a65b7d057411e39adf7f5a29eddff818d20579900b655df4d838b984a1b68f488232e1990b592943a70943619d924da1c4e1d2ce0d3ef65bc40f75d6
+
+pkgname = rapidjson


=====================================
PKGBUILD
=====================================
@@ -5,19 +5,22 @@
 
 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')
 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|-Werror||' -i # Don't use -Werror
+  patch -p1 -i ../3b2441b8.patch # Fix build with GCC 14
 }
 
 build () {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rapidjson/-/commit/20e6c15a0fd8276e9c9200e337db6374695dc68b

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rapidjson/-/commit/20e6c15a0fd8276e9c9200e337db6374695dc68b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to