summaryrefslogtreecommitdiffstats
path: root/package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-12-17 23:14:35 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-18 10:27:43 +0100
commitca0e51528eef57d766209de255e74f934a06a336 (patch)
treef9652265d4d4cf6bd07691d55b0a5ec3646af897 /package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch
parent9a7e06dc83b70eaed900ab5078206e1c7d0ce141 (diff)
downloadbuildroot-novena-ca0e51528eef57d766209de255e74f934a06a336.tar.gz
buildroot-novena-ca0e51528eef57d766209de255e74f934a06a336.zip
libseccomp: Remove the use of /proc when installing pc files
Fixes http://autobuild.buildroot.org/results/d9e12bb0f5b2df9064adf3772bcf479b51d72468 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch')
-rw-r--r--package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch b/package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch
new file mode 100644
index 000000000..0997eddb8
--- /dev/null
+++ b/package/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch
@@ -0,0 +1,17 @@
+configure: check headers in sysroot, not in host's system headers
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+diff -durN libseccomp-1.0.0.orig/configure libseccomp-1.0.0/configure
+--- libseccomp-1.0.0.orig/configure 2012-07-27 22:35:05.000000000 +0200
++++ libseccomp-1.0.0/configure 2012-10-27 00:12:50.739196219 +0200
+@@ -205,7 +205,8 @@
+ #
+
+ # system seccomp includes
+-if [[ -r "/usr/include/linux/seccomp.h" ]]; then
++# ${SYSROOT} added by buildroot for cross-compilation
++if [[ -r "${SYSROOT}/usr/include/linux/seccomp.h" ]]; then
+ opt_sysinc_seccomp="yes"
+ else
+ opt_sysinc_seccomp="no"