diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | renameat2-test-fix.patch | 7 |
3 files changed, 19 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = casync pkgdesc = Content-Addressable Data Synchronization Tool pkgver = 2 - pkgrel = 3 + pkgrel = 4 url = https://github.com/systemd/casync arch = x86 arch = x86_64 @@ -18,7 +18,9 @@ pkgbase = casync depends = zlib depends = zstd source = casync-2.tar.gz::https://github.com/systemd/casync/archive/v2.tar.gz + source = renameat2-test-fix.patch sha256sums = a5f79ee3ccae2df42cce662c36edc7047aebacd3a9c029ee9a859adfa7a68d00 + sha256sums = 3fb0fc4965039d0fc5b51c8fe49bb7ad74108324ff921c6f5b74127036c28d51 pkgname = casync @@ -1,7 +1,7 @@ # Maintainer: Nikita Puzyryov <PuzyryovN@gmail.com> pkgname=casync pkgver=2 -pkgrel=3 +pkgrel=4 pkgdesc="Content-Addressable Data Synchronization Tool" arch=(x86 x86_64) url="https://github.com/systemd/casync" @@ -10,8 +10,14 @@ depends=('acl' 'fuse2' 'libcurl.so' 'libgcrypt' 'libselinux' 'xz' 'zlib' 'zstd') makedepends=('meson' 'python-sphinx') optdepends=() checkdepends=('rsync') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('a5f79ee3ccae2df42cce662c36edc7047aebacd3a9c029ee9a859adfa7a68d00') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" 'renameat2-test-fix.patch') +sha256sums=('a5f79ee3ccae2df42cce662c36edc7047aebacd3a9c029ee9a859adfa7a68d00' + '3fb0fc4965039d0fc5b51c8fe49bb7ad74108324ff921c6f5b74127036c28d51') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "$srcdir/renameat2-test-fix.patch" +} build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/renameat2-test-fix.patch b/renameat2-test-fix.patch new file mode 100644 index 000000000000..8022869578b9 --- /dev/null +++ b/renameat2-test-fix.patch @@ -0,0 +1,7 @@ +diff --git a/meson.build b/meson.build +index f42ed16..c0f741e 100644 +--- a/meson.build ++++ b/meson.build +@@ -81 +81 @@ foreach ident : [ +- have = cc.has_function(ident[0], prefix : ident[1]) ++ have = cc.has_function(ident[0], args : '-D_GNU_SOURCE', prefix : ident[1]) |