xfsprogs: update to 5.19.0.

This commit is contained in:
Enno Boland 2022-10-06 13:17:55 +02:00 committed by Leah Neukirchen
parent c729884537
commit 357c92e28e
2 changed files with 2 additions and 28 deletions

View file

@ -1,26 +0,0 @@
--- a/io/mmap.c
+++ b/io/mmap.c
@@ -189,7 +189,11 @@
prot |= PROT_EXEC;
break;
case 'S':
+ #ifdef MAP_SYNC
flags = MAP_SYNC | MAP_SHARED_VALIDATE;
+ #else
+ flags = MAP_SHARED_VALIDATE;
+ #endif
/*
* If MAP_SYNC and MAP_SHARED_VALIDATE aren't defined
@@ -269,7 +273,11 @@
mapping->offset = offset;
mapping->name = filename;
mapping->prot = prot;
+ #ifdef MAP_SYNC
mapping->map_sync = (flags == (MAP_SYNC | MAP_SHARED_VALIDATE));
+ #else
+ mapping->map_sync = (flags == (MAP_SHARED_VALIDATE));
+ #endif
return 0;
}

View file

@ -1,6 +1,6 @@
# Template file for 'xfsprogs' # Template file for 'xfsprogs'
pkgname=xfsprogs pkgname=xfsprogs
version=5.18.0 version=5.19.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-editline=yes --enable-lib64=no --libdir=/usr/lib" configure_args="--enable-editline=yes --enable-lib64=no --libdir=/usr/lib"
@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="http://xfs.org/index.php/Main_Page" homepage="http://xfs.org/index.php/Main_Page"
distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar.xz" distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar.xz"
checksum=1e8d8801bdec8cd4cad360ce3bbd12c35a97f2bc8f7c8c9580d1903b0e8cc35b checksum=4b6c6c98c036a37f6d90c82cb7fe9405d3b5856d9345662032d01ff4b140592c
do_install() { do_install() {
make install install-dev DIST_ROOT=${DESTDIR} \ make install install-dev DIST_ROOT=${DESTDIR} \