public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ecryptfs-utils] rawhide: use sys/xattr.h instead of attr/xattr.h as attr dropped the workaround
@ 2026-08-06 18:32 Michal Hlavinka
  0 siblings, 0 replies; only message in thread
From: Michal Hlavinka @ 2026-08-06 18:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ecryptfs-utils
Branch : rawhide
Commit : e885ee2b4b3ef638024cd8cb5bb6131aff67212c
Author : Michal Hlavinka <mhlavink@redhat.com>
Date   : 2026-08-06T20:31:51+02:00
Stats  : +17/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ecryptfs-utils/c/e885ee2b4b3ef638024cd8cb5bb6131aff67212c?branch=rawhide

Log:
use sys/xattr.h instead of attr/xattr.h as attr dropped the workaround

---
diff --git a/ecryptfs-utils-111-sysxattr.patch b/ecryptfs-utils-111-sysxattr.patch
new file mode 100644
index 0000000..852c12f
--- /dev/null
+++ b/ecryptfs-utils-111-sysxattr.patch
@@ -0,0 +1,12 @@
+diff -up ecryptfs-utils-111/tests/kernel/lp-509180/test.c.sysxattr ecryptfs-utils-111/tests/kernel/lp-509180/test.c
+--- ecryptfs-utils-111/tests/kernel/lp-509180/test.c.sysxattr	2026-08-06 20:27:22.543313944 +0200
++++ ecryptfs-utils-111/tests/kernel/lp-509180/test.c	2026-08-06 20:27:36.535722619 +0200
+@@ -26,7 +26,7 @@
+ #include <fcntl.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#include <attr/xattr.h>
++#include <sys/xattr.h>
+ 
+ #define TEST_ERROR	(2)
+ 

diff --git a/ecryptfs-utils.spec b/ecryptfs-utils.spec
index 91529db..7744a81 100644
--- a/ecryptfs-utils.spec
+++ b/ecryptfs-utils.spec
@@ -90,6 +90,9 @@ Patch927: ecryptfs-utils-111-noengine.patch
 # openssl 4.0 compatibility
 Patch928:ecryptfs-utils-111-openssl40.patch
 
+# we should use sys/xattr.h instead of attr/xattr.h as workaround is gone now
+Patch929:ecryptfs-utils-111-sysxattr.patch
+
 ### patches for general cleanup, should be kept and executed after all others
 # allow building with -Werror
 Patch999: %{name}-75-werror.patch
@@ -176,6 +179,7 @@ Obsoletes:  %{name}-python < %{version}-%{release}
 %patch -P926 -p1 -b .authselect
 %patch -P 927 -p1 -b .noengine
 %patch -P 928 -p1 -b .openssl40
+%patch -P 929 -p1 -b .sysxattr
 
 %patch -P999 -p1 -b .werror
 
@@ -348,6 +352,7 @@ fi
 
 %changelog
 * Thu Aug 06 2026 Michal Hlavinka <mhlavink@redhat.com> - 111-45
+- use sys/xattr.h instead of attr/xattr.h as attr dropped the workaround
 - fix FTBFS due to openssl 4.0 changes
 
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 111-44

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-06 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 18:32 [rpms/ecryptfs-utils] rawhide: use sys/xattr.h instead of attr/xattr.h as attr dropped the workaround Michal Hlavinka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox