vim: import from old packages
[feed/packages.git] / utils / vim / patches / 001-compile.patch
1 --- a/src/auto/configure
2 +++ b/src/auto/configure
3 @@ -12294,37 +12294,8 @@ _ACEOF
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_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot check uint32_t when cross-compiling." >&5
9 -$as_echo "$as_me: WARNING: cannot check uint32_t when cross-compiling." >&2;}
10 -else
11 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12 -/* end confdefs.h. */
13 -
14 -#ifdef HAVE_STDINT_H
15 -# include <stdint.h>
16 -#endif
17 -#ifdef HAVE_INTTYPES_H
18 -# include <inttypes.h>
19 -#endif
20 -main() {
21 - uint32_t nr1 = (uint32_t)-1;
22 - uint32_t nr2 = (uint32_t)0xffffffffUL;
23 - if (sizeof(uint32_t) != 4 || nr1 != 0xffffffffUL || nr2 + 1 != 0) exit(1);
24 - exit(0);
25 -}
26 -_ACEOF
27 -if ac_fn_c_try_run "$LINENO"; then :
28 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
29 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming ok" >&5
30 $as_echo "ok" >&6; }
31 -else
32 - as_fn_error "WRONG! uint32_t not defined correctly." "$LINENO" 5
33 -fi
34 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35 - conftest.$ac_objext conftest.beam conftest.$ac_ext
36 -fi
37 -
38 -
39
40 bcopy_test_prog='
41 #include "confdefs.h"