summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/23.4/15_all_pax-xattr.patch')
-rw-r--r--emacs/23.4/15_all_pax-xattr.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/23.4/15_all_pax-xattr.patch b/emacs/23.4/15_all_pax-xattr.patch
index 53d97c3..040dacf 100644
--- a/emacs/23.4/15_all_pax-xattr.patch
+++ b/emacs/23.4/15_all_pax-xattr.patch
@@ -1,5 +1,6 @@
Fix failure in unexec with hardened Linux kernel and XATTR_PAX_FLAGS=y.
https://bugs.gentoo.org/456970
+https://bugs.gentoo.org/497498
--- emacs-23.4-orig/configure.in
+++ emacs-23.4/configure.in
@@ -39,7 +40,7 @@ https://bugs.gentoo.org/456970
#ifndef CANNOT_DUMP
test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT)
+ test "X$(SETFATTR)" = X \
-+ || $(SETFATTR) -n user.pax.flags -v r temacs$(EXEEXT)
++ || $(SETFATTR) -n user.pax.flags -v er temacs$(EXEEXT)
#endif
/* We do not use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE