diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch b/meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch new file mode 100644 index 0000000000..9a19b58b50 --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Index: b/tests/run-native-test.sh | ||
2 | =================================================================== | ||
3 | --- a/tests/run-native-test.sh | ||
4 | +++ b/tests/run-native-test.sh | ||
5 | @@ -77,6 +77,12 @@ native_test() | ||
6 | test $native -eq 0 || testrun "$@" -p $native > /dev/null | ||
7 | } | ||
8 | |||
9 | +# On the Debian buildds, GNU/kFreeBSD linprocfs /proc/$PID/maps does | ||
10 | +# not give absolute paths due to sbuild's bind mounts (bug #570805) | ||
11 | +# therefore the next two test programs are expected to fail with | ||
12 | +# "cannot attach to process: Function not implemented". | ||
13 | +[ "$(uname)" = "GNU/kFreeBSD" ] && exit 77 | ||
14 | + | ||
15 | native_test ${abs_builddir}/allregs | ||
16 | native_test ${abs_builddir}/funcretval | ||
17 | |||