public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/overlayfs-tools] rawhide: fix FTBFS with recent libattr
Date: Thu, 23 Jul 2026 15:14:54 GMT	[thread overview]
Message-ID: <178481969421.1.7489969498066959093.rpms-overlayfs-tools-fdc6441ff1ce@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-23 15:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178481969421.1.7489969498066959093.rpms-overlayfs-tools-fdc6441ff1ce@fedoraproject.org \
    --to=dominik@greysector.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox