aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/screen/patches/screen-cross_compile_fix.patch
blob: fe5f5e969a2ed2d48d223e7e762cefc71d6c3221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- configure.orig	2014-08-12 23:28:34.867815037 +0200
+++ 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