From edf9340ecc741fa966b7c250743f79e574bd24dd Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Thu, 3 Oct 2024 10:40:48 +0200 Subject: [PATCH] upgpkg: libcrossguid-git 0.2.2.r52.gca1bf4b-2 fix build with gcc13+ --- libcrossguid-git/.SRCINFO | 4 +++- libcrossguid-git/PKGBUILD | 13 +++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/libcrossguid-git/.SRCINFO b/libcrossguid-git/.SRCINFO index 32f9bf3..6af657c 100644 --- a/libcrossguid-git/.SRCINFO +++ b/libcrossguid-git/.SRCINFO @@ -11,6 +11,8 @@ pkgbase = libcrossguid-git provides = libcrossguid conflicts = libcrossguid source = libcrossguid::git+https://github.com/graeme-hill/crossguid.git - md5sums = SKIP + source = cstdint.diff::https://github.com/graeme-hill/crossguid/pull/67.diff + sha256sums = SKIP + sha256sums = 17f3cb3951be4e04e53d3a1005339663b98053928715bf216512a01c2fa7e9e9 pkgname = libcrossguid-git diff --git a/libcrossguid-git/PKGBUILD b/libcrossguid-git/PKGBUILD index 062ccec..c3d1688 100644 --- a/libcrossguid-git/PKGBUILD +++ b/libcrossguid-git/PKGBUILD @@ -10,14 +10,23 @@ license=('MIT') makedepends=('git' 'cmake') provides=('libcrossguid') conflicts=('libcrossguid') -source=('libcrossguid::git+https://github.com/graeme-hill/crossguid.git') -md5sums=('SKIP') +source=( + 'libcrossguid::git+https://github.com/graeme-hill/crossguid.git' + 'cstdint.diff::https://github.com/graeme-hill/crossguid/pull/67.diff' +) +sha256sums=('SKIP' + '17f3cb3951be4e04e53d3a1005339663b98053928715bf216512a01c2fa7e9e9') pkgver() { cd "$srcdir"/libcrossguid git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "$srcdir"/libcrossguid + patch -p1 < ../cstdint.diff +} + build() { cd "$srcdir"/libcrossguid cmake .