[packages/xfsprogs] Up to 7.2.1
arekm
arekm at pld-linux.org
Thu Oct 29 09:13:30 CET 2026
commit 4686d5acf1f0a07503e284b8c90996bab916850d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 29 00:03:23 2026 +0100
Up to 7.2.1
xfsprogs-trans-mod-sb-32bit.patch | 28 ++++++++++++++++++++++++++++
xfsprogs.spec | 6 ++++--
2 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/xfsprogs.spec b/xfsprogs.spec
index 6c3b613..0fd91b7 100644
--- a/xfsprogs.spec
+++ b/xfsprogs.spec
@@ -10,15 +10,16 @@
Summary: Tools for the XFS filesystem
Summary(pl.UTF-8): Narzędzia do systemu plików XFS
Name: xfsprogs
-Version: 7.2.0
+Version: 7.2.1
Release: 1
License: LGPL v2.1 (libhandle), GPL v2 (the rest)
Group: Applications/System
Source0: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
-# Source0-md5: 6837d20d00079e6cee40b663c9bf50d7
+# Source0-md5: 3e94a4f5ee8e732864548fc7615110b4
Source1: xfs_lsprojid
Patch0: %{name}-miscfix-v2.patch
Patch1: %{name}-pl.po-update.patch
+Patch2: %{name}-trans-mod-sb-32bit.patch
URL: https://xfs.wiki.kernel.org/
# for <attr/attributes.h>
BuildRequires: attr-devel
@@ -135,6 +136,7 @@ Biblioteki statyczne do XFS.
%prep
%setup -q
%patch -P 0 -p1
+%patch -P 2 -p1
# files order in pot changes in every version, making diff huge - sort entries first
%{__mv} po/xfsprogs.pot po/xfsprogs.pot.upstream
diff --git a/xfsprogs-trans-mod-sb-32bit.patch b/xfsprogs-trans-mod-sb-32bit.patch
new file mode 100644
index 0000000..a9ce786
--- /dev/null
+++ b/xfsprogs-trans-mod-sb-32bit.patch
@@ -0,0 +1,28 @@
+# https://lore.kernel.org/linux-xfs/20261021085921.56883-2-aalbersh@kernel.org/
+# conflicting xfs_trans_mod_sb() prototypes break the build where long is 32-bit (i686, x32)
+diff --git a/libxfs/trans.c b/libxfs/trans.c
+index c509ca113111..920f0eba7519 100644
+--- a/libxfs/trans.c
++++ b/libxfs/trans.c
+@@ -845,7 +845,7 @@ void
+ libxfs_trans_mod_sb(
+ xfs_trans_t *tp,
+ uint field,
+- long delta)
++ int64_t delta)
+ {
+ switch (field) {
+ case XFS_TRANS_SB_RES_FDBLOCKS:
+diff --git a/libxfs/xfs_platform.h b/libxfs/xfs_platform.h
+index 4f4990a20dad..80ff969b9f27 100644
+--- a/libxfs/xfs_platform.h
++++ b/libxfs/xfs_platform.h
+@@ -408,8 +408,6 @@ int libxfs_mod_incore_sb(struct xfs_mount *, int, int64_t, int);
+ /* percpu counters in mp are #defined to the superblock sb_ counters */
+ #define xfs_reinit_percpu_counters(mp)
+
+-void xfs_trans_mod_sb(struct xfs_trans *, uint, long);
+-
+ void xfs_verifier_error(struct xfs_buf *bp, int error,
+ xfs_failaddr_t failaddr);
+ void xfs_inode_verifier_error(struct xfs_inode *ip, int error,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xfsprogs.git/commitdiff/4686d5acf1f0a07503e284b8c90996bab916850d
More information about the pld-cvs-commit
mailing list