summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-07-14 12:54:21 +0200
committerUlrich Müller <ulm@gentoo.org>2022-07-14 12:54:21 +0200
commit7024d112a79c94afcc62bfa23f9eb4a6e7dbe960 (patch)
tree60ee29baf585d79c9d492df250aa56a783efdcd1
parent18.59: Fix a warning (diff)
downloademacs-patches-7024d112a79c94afcc62bfa23f9eb4a6e7dbe960.tar.gz
emacs-patches-7024d112a79c94afcc62bfa23f9eb4a6e7dbe960.tar.bz2
emacs-patches-7024d112a79c94afcc62bfa23f9eb4a6e7dbe960.zip
28.1: Disable libseccompemacs-28.1-patches-1
https://bugs.gentoo.org/857906 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--emacs/28.1/01_all_libseccomp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/28.1/01_all_libseccomp.patch b/emacs/28.1/01_all_libseccomp.patch
new file mode 100644
index 0000000..656b3c6
--- /dev/null
+++ b/emacs/28.1/01_all_libseccomp.patch
@@ -0,0 +1,15 @@
+libseccomp is detected by configure but doesn't appear to have any
+effect on the installed image. For now, disable it unconditionally.
+https://bugs.gentoo.org/857906
+
+--- emacs-28.1/configure.ac
++++ emacs-28.1/configure.ac
+@@ -4375,7 +4375,7 @@
+ ]])])
+ AC_SUBST([HAVE_SECCOMP])
+
+-EMACS_CHECK_MODULES([LIBSECCOMP], [libseccomp >= 2.5.2])
++HAVE_LIBSECCOMP=no
+ AC_SUBST([HAVE_LIBSECCOMP])
+ AC_SUBST([LIBSECCOMP_LIBS])
+ AC_SUBST([LIBSECCOMP_CFLAGS])