python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / xscreensaver / 0001-fix-cross-compile-ansi-c-bailout.patch
blob6da9419e08ce5ac6d34b93b2b639cb3d8645c285
1 The configure bails out when cross-compiling, because it is over-cautious
2 about ANSI support in the C compiler. Work around this by disabling the
3 bail-out code.
5 [Peter: updated for 5.32]
6 Signed-off-by: Simon Dawson <spdawson@gmail.com>
7 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 diff -Nurp a/configure b/configure
10 --- a/configure 2013-07-16 10:23:32.000000000 +0100
11 +++ b/configure 2013-09-22 14:50:07.186953454 +0100
12 @@ -4374,7 +4374,6 @@ $as_echo "Solaris: adding -D__EXTENSIONS
13 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler works on ANSI C" >&5
14 $as_echo_n "checking whether the compiler works on ANSI C... " >&6; }
15 if test "$cross_compiling" = yes; then :
16 - as_fn_error $? "Couldn't build even a trivial ANSI C program: check CC." "$LINENO" 5
17 else
18 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19 /* end confdefs.h. */