upgpkg: libcrossguid-git 0.2.2.r52.gca1bf4b-2

fix build with gcc13+
This commit is contained in:
Cedric Girard 2024-10-03 10:40:48 +02:00
parent 63236be0ad
commit edf9340ecc
2 changed files with 14 additions and 3 deletions

View file

@ -11,6 +11,8 @@ pkgbase = libcrossguid-git
provides = libcrossguid provides = libcrossguid
conflicts = libcrossguid conflicts = libcrossguid
source = libcrossguid::git+https://github.com/graeme-hill/crossguid.git 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 pkgname = libcrossguid-git

View file

@ -10,14 +10,23 @@ license=('MIT')
makedepends=('git' 'cmake') makedepends=('git' 'cmake')
provides=('libcrossguid') provides=('libcrossguid')
conflicts=('libcrossguid') conflicts=('libcrossguid')
source=('libcrossguid::git+https://github.com/graeme-hill/crossguid.git') source=(
md5sums=('SKIP') 'libcrossguid::git+https://github.com/graeme-hill/crossguid.git'
'cstdint.diff::https://github.com/graeme-hill/crossguid/pull/67.diff'
)
sha256sums=('SKIP'
'17f3cb3951be4e04e53d3a1005339663b98053928715bf216512a01c2fa7e9e9')
pkgver() { pkgver() {
cd "$srcdir"/libcrossguid cd "$srcdir"/libcrossguid
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
} }
prepare() {
cd "$srcdir"/libcrossguid
patch -p1 < ../cstdint.diff
}
build() { build() {
cd "$srcdir"/libcrossguid cd "$srcdir"/libcrossguid
cmake . cmake .