summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch')
-rw-r--r--meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch b/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
new file mode 100644
index 0000000000..10b07435c4
--- /dev/null
+++ b/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
@@ -0,0 +1,38 @@
1From 9dfada06f8d2e02d7a04f793ba6e1d4a2aa5ffb7 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 5 Oct 2017 14:54:17 +0300
4Subject: [PATCH] Disable libseccomp (sycall filtering mechanism)
5
6Upstream forgot to make it optional, and it is not currently used in Yocto
7
8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 configure.ac | 11 -----------
12 1 file changed, 11 deletions(-)
13
14diff --git a/configure.ac b/configure.ac
15index 86bcf1f..8911f19 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -157,17 +157,6 @@ else
19 fi
20
21 SECCOMP_PKG=""
22-dnl Check for bubblewrap compatible platform
23-case $host_os in
24- linux*)
25- PKG_CHECK_MODULES(LIBSECCOMP, [libseccomp])
26- SECCOMP_PKG="libseccomp"
27- AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define to include GNU extensions])
28- AC_DEFINE_UNQUOTED(HAVE_BWRAP, 1, [Define to 1 if Bubblewrap support is available])
29- AC_DEFINE([ENABLE_SECCOMP], [1], [Define if using seccomp])
30- AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$prefix", [Path to library install prefix])
31- ;;
32-esac
33
34 dnl pkg-config dependency checks
35
36--
372.14.1
38