Skip to content

Commit

Permalink
Add patch to fix build of reflective-rapidjson
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jan 6, 2025
1 parent 64f125c commit 6f69405
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions c++utilities/default/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_reponame=cpp-utilities
pkgname=c++utilities
pkgver=5.27.1
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities'
license=(GPL-2-or-later)
Expand All @@ -16,8 +16,15 @@ makedepends=('cmake' 'ninja')
checkdepends=('cppunit')
provides=(libc++utilities.so)
url="https://github.com/Martchus/${_reponame}"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz"
https://github.com/Martchus/cpp-utilities/commit/34bd17dc88d493f9b68c92d6c896245e933ff01e.patch)
sha256sums=('a6c35cda6cee50e053a9bb405e8fa35fd7bf75561f10ee1a4c3fc85de5c5fb97'
'155785b3476663b256641f73ea6a319ca2d8883b0a0fb03ef9f8b755945f038c')

prepare() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
patch -p1 -i ../34bd17dc88d493f9b68c92d6c896245e933ff01e.patch
}

build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
Expand Down

0 comments on commit 6f69405

Please sign in to comment.