update at package
[packages.git] / utils / at / patches / 100-cross-compile.patch
index 55dd2ca..71921cb 100644 (file)
@@ -1,11 +1,11 @@
---- at-3.1.10ubuntu4/configure 2008-04-21 21:14:40.000000000 +0200
-+++ at-3.1.10ubuntu4/configure 2008-04-21 21:18:09.000000000 +0200
-@@ -1037,7 +1037,7 @@
- echo $ac_n "checking Trying to compile a trivial ANSI C program""... $ac_c" 1>&6
- echo "configure:1039: checking Trying to compile a trivial ANSI C program" >&5
- if test "$cross_compiling" = yes; then
--  { echo "configure: error: Could not compile and run even a trivial ANSI C program - check CC." 1>&2; exit 1; }
-+  { echo "configure: error: Could not compile and run even a trivial ANSI C program, ignoring as we're cross compiling." 1>&2 ; }
+--- at-3.1.12/configure        2009-11-23 16:11:52.000000000 +0100
++++ at-3.1.12/configure        2011-03-30 13:50:03.725526083 +0200
+@@ -3417,7 +3417,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Trying to compile a trivial ANSI C program" >&5
+ $as_echo_n "checking Trying to compile a trivial ANSI C program... " >&6; }
+ if test "$cross_compiling" = yes; then :
+-  as_fn_error "Could not compile and run even a trivial ANSI C program - check CC." "$LINENO" 5
++  # as_fn_error "Could not compile and run even a trivial ANSI C program - check CC. Ignoring as we're cross compiling." "$LINENO" 5
  else
-   cat > conftest.$ac_ext <<EOF
- #line 1044 "configure"
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */