[packages/xfsprogs] add patch to fix build race

atler atler at pld-linux.org
Sat Oct 19 20:44:22 CEST 2024


commit bdf9bf83355365852af6d477f2f97d1e66f60852
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Oct 19 20:29:56 2024 +0200

    add patch to fix build race

 build-deps.patch | 27 +++++++++++++++++++++++++++
 xfsprogs.spec    |  2 ++
 2 files changed, 29 insertions(+)
---
diff --git a/xfsprogs.spec b/xfsprogs.spec
index 89de50b..aff6387 100644
--- a/xfsprogs.spec
+++ b/xfsprogs.spec
@@ -17,6 +17,7 @@ Source0:	https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{versio
 Source1:	xfs_lsprojid
 Patch0:		%{name}-miscfix-v2.patch
 Patch1:		%{name}-pl.po-update.patch
+Patch2:		build-deps.patch
 URL:		https://xfs.wiki.kernel.org/
 # for <attr/attributes.h>
 BuildRequires:	attr-devel
@@ -122,6 +123,7 @@ Biblioteki statyczne do XFS.
 %prep
 %setup -q
 %patch0 -p1
+%patch2 -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/build-deps.patch b/build-deps.patch
new file mode 100644
index 0000000..64666d6
--- /dev/null
+++ b/build-deps.patch
@@ -0,0 +1,27 @@
+From 69ee6b97e0868425a85aac634c41714270c84c1e Mon Sep 17 00:00:00 2001
+From: Jan Palus <jpalus at fastmail.com>
+Date: Sat, 19 Oct 2024 20:12:13 +0200
+Subject: [PATCH] xfs_spaceman: add dependency on libhandle target
+
+Fixes: 764d8cb8 ("xfs_spaceman: report file paths")
+Signed-off-by: Jan Palus <jpalus at fastmail.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index c40728d9..c73aa391 100644
+--- a/Makefile
++++ b/Makefile
+@@ -97,7 +97,7 @@ quota: libxcmd
+ repair: libxlog libxcmd
+ copy: libxlog
+ mkfs: libxcmd
+-spaceman: libxcmd
++spaceman: libxcmd libhandle
+ scrub: libhandle libxcmd
+ rtcp: libfrog
+ 
+-- 
+2.47.0
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfsprogs.git/commitdiff/bdf9bf83355365852af6d477f2f97d1e66f60852



More information about the pld-cvs-commit mailing list