aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/28.2/01_all_libseccomp.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/28.2/01_all_libseccomp.patch b/emacs/28.2/01_all_libseccomp.patch
new file mode 100644
index 0000000..ecbbba0
--- /dev/null
+++ b/emacs/28.2/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.2/configure.ac
++++ emacs-28.2/configure.ac
+@@ -4373,7 +4373,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])