add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / utils / vim / patches / 001-cross_compile.patch
1 --- vim73.org/src/auto/configure        2010-11-29 10:47:27.396117333 +0000
2 +++ vim73/src/auto/configure    2010-11-29 10:48:52.301117332 +0000
3 @@ -11641,34 +11641,8 @@
4  
5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking uint32_t is 32 bits" >&5
6  $as_echo_n "checking uint32_t is 32 bits... " >&6; }
7 -if test "$cross_compiling" = yes; then :
8 -  as_fn_error "could not compile program using uint32_t." "$LINENO" 5
9 -else
10 -  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11 -/* end confdefs.h.  */
12 -
13 -#ifdef HAVE_STDINT_H
14 -# include <stdint.h>
15 -#endif
16 -#ifdef HAVE_INTTYPES_H
17 -# include <inttypes.h>
18 -#endif
19 -main() {
20 -  uint32_t nr1 = (uint32_t)-1;
21 -  uint32_t nr2 = (uint32_t)0xffffffffUL;
22 -  if (sizeof(uint32_t) != 4 || nr1 != 0xffffffffUL || nr2 + 1 != 0) exit(1);
23 -  exit(0);
24 -}
25 -_ACEOF
26 -if ac_fn_c_try_run "$LINENO"; then :
27 -  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
28 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming ok" >&5
29  $as_echo "ok" >&6; }
30 -else
31 -  as_fn_error "WRONG!  uint32_t not defined correctly." "$LINENO" 5
32 -fi
33 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34 -  conftest.$ac_objext conftest.beam conftest.$ac_ext
35 -fi