public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/overlayfs-tools] rawhide: fix FTBFS with recent libattr
@ 2026-07-23 15:14 Dominik 'Rathann' Mierzejewski
0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-07-23 15:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/overlayfs-tools
Branch : rawhide
Commit : fdc6441ff1ce0860e8c61074ef9df373a96bee72
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2026-07-23T17:14:25+02:00
Stats : +26/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/overlayfs-tools/c/fdc6441ff1ce0860e8c61074ef9df373a96bee72?branch=rawhide
Log:
fix FTBFS with recent libattr
---
diff --git a/overlayfs-tools-sys-xattr-h.patch b/overlayfs-tools-sys-xattr-h.patch
new file mode 100644
index 0000000..e654b06
--- /dev/null
+++ b/overlayfs-tools-sys-xattr-h.patch
@@ -0,0 +1,24 @@
+diff -up overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/logic.c.orig overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/logic.c
+--- overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/logic.c.orig 2020-08-17 03:57:27.000000000 +0200
++++ overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/logic.c 2026-07-23 17:09:30.745139574 +0200
+@@ -7,7 +7,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <unistd.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+ #include <attr/attributes.h>
+ #include <fts.h>
+ #include <libgen.h>
+diff -up overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/main.c.orig overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/main.c
+--- overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/main.c.orig 2026-07-23 17:10:36.564547691 +0200
++++ overlayfs-tools-77bf3f7ad3e7b834a15e2166780167646d51cce8/main.c 2026-07-23 17:13:17.867399696 +0200
+@@ -13,7 +13,7 @@
+ #include <linux/limits.h>
+ #include <stdbool.h>
+ #include <sys/stat.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+ #ifndef _SYS_STAT_H
+ #include <linux/stat.h>
+ #endif
diff --git a/overlayfs-tools.spec b/overlayfs-tools.spec
index 5a512a8..7fcfe76 100644
--- a/overlayfs-tools.spec
+++ b/overlayfs-tools.spec
@@ -12,6 +12,7 @@ Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
Patch0: %{name}-missing-errno-h.patch
# https://patch-diff.githubusercontent.com/raw/kmxz/overlayfs-tools/pull/13
Patch1: https://patch-diff.githubusercontent.com/raw/kmxz/overlayfs-tools/pull/13.diff
+Patch2: %{name}-sys-xattr-h.patch
License: WTFPL
BuildRequires: gcc
BuildRequires: help2man
@@ -71,6 +72,7 @@ install -pm644 overlay.1 %{buildroot}%{_mandir}/man1
%changelog
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.20200817git77bf3f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+- fix FTBFS with recent libattr
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.20200817git77bf3f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-23 15:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 15:14 [rpms/overlayfs-tools] rawhide: fix FTBFS with recent libattr Dominik 'Rathann' Mierzejewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox