void-packages/srcpkgs/screen/patches/screen-cross_compile_fix.patch

19 lines
503 B
Diff

--- a/configure 2014-08-12 23:28:34.867815037 +0200
+++ b/configure 2014-08-12 23:31:35.647817252 +0200
@@ -305,6 +305,7 @@
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
+ return 0
set +e
as_fn_set_status $1
exit $1
@@ -6985,7 +6986,6 @@
fi
if test ! -f "$as_myself"; then
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
fi
# Unset variables that we do not need and which cause bugs (e.g. in