summaryrefslogtreecommitdiff
path: root/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-01 10:43:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-01 10:43:32 +0100
commita3cd07faa5647634fc5655e60ee19c5094b7fe63 (patch)
tree25e6b890f1e758c466f20a55130d1ee60756991e /sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch
parentd1d40fa532bdb8752fa7c7e9a83865db3bb529fb (diff)
sys-libs/libseccomp : import from gentoo temporarily, till we update our toolchain
Diffstat (limited to 'sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch')
-rw-r--r--sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch b/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch
new file mode 100644
index 00000000..baf3ed97
--- /dev/null
+++ b/sys-libs/libseccomp/files/libseccomp-2.5.3-skip-valgrind.patch
@@ -0,0 +1,13 @@
+Valgrind isn't supported on all arches (and indeed profiles for older types
+of some arches) so let's just skip the automagic Valgrind dependency entirely.
+--- a/tests/regression
++++ b/tests/regression
+@@ -876,7 +876,7 @@ function run_test() {
+ run_test_bpf_sim_fuzz "$1" $2 "$3"
+ elif [[ "$4" == "bpf-valgrind" ]]; then
+ # only run this test if valgrind is installed
+- if check_deps valgrind; then
++ if false; then
+ run_test_bpf_valgrind "$testnumstr" "$3"
+ else
+ print_result $testnumstr "SKIPPED" \