470c5e87d992394fc39c4837b0c65ebbc8053614
[openwrt/svn-archive/archive.git] / net / mtr / patches / 100-no_wo_pointer_sign.patch
1 diff -urN mtr-0.75/configure mtr-0.75.new/configure
2 --- mtr-0.75/configure 2008-09-19 11:38:58.000000000 +0200
3 +++ mtr-0.75.new/configure 2009-06-26 22:41:26.000000000 +0200
4 @@ -7956,7 +7956,7 @@
5 echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6; }
6 ac_save_CFLAGS="$CFLAGS"
7 if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
8 - warning_CFLAGS="-Wall -Wno-pointer-sign"
9 + warning_CFLAGS="-Wall"
10 else
11 case "$host_os" in
12 irix*)
13 diff -urN mtr-0.75/configure.in mtr-0.75.new/configure.in
14 --- mtr-0.75/configure.in 2008-09-08 09:40:54.000000000 +0200
15 +++ mtr-0.75.new/configure.in 2009-06-26 22:41:21.000000000 +0200
16 @@ -108,7 +108,7 @@
17 ac_save_CFLAGS="$CFLAGS"
18 if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
19 dnl gcc is the easiest C compiler
20 - warning_CFLAGS="-Wall -Wno-pointer-sign"
21 + warning_CFLAGS="-Wall"
22 else
23 dnl Vendor supplied C compilers are a bit tricky
24 case "$host_os" in