chiark / gitweb /
dropbear: update to 2018.76 (#2356)
[termux-packages] / packages / ruby / configure.in.patch
1 Fix issues when compiling with clang (where cpp is provided by gcc
2 in the standalone toolchain).
3
4 diff -u -r ../ruby-2.3.1/configure.in ./configure.in
5 --- ../ruby-2.3.1/configure.in  2016-04-24 13:44:40.000000000 -0400
6 +++ ./configure.in      2016-05-18 01:10:09.523385169 -0400
7 @@ -799,7 +799,7 @@
8  rb_cv_warnflags="$warnflags"
9  if test "$GCC:${warnflags+set}:no" = yes::no; then
10      if test $gcc_major -ge 4; then
11 -       extra_warning=-Werror=extra-tokens
12 +       extra_warning=
13      else
14         extra_warning=
15      fi
16 @@ -813,9 +813,7 @@
17                  -Werror=pointer-arith \
18                  -Werror=write-strings \
19                  -Werror=declaration-after-statement \
20 -                -Werror=shorten-64-to-32 \
21                  -Werror=implicit-function-declaration \
22 -                -Werror=division-by-zero \
23                  -Werror=deprecated-declarations \
24                  -Wno-packed-bitfield-compat \
25                  $extra_warning \