diff options
Diffstat (limited to 'net-analyzer/mtr/files/mtr-0.75--Wno-pointer-sign.patch')
-rw-r--r-- | net-analyzer/mtr/files/mtr-0.75--Wno-pointer-sign.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net-analyzer/mtr/files/mtr-0.75--Wno-pointer-sign.patch b/net-analyzer/mtr/files/mtr-0.75--Wno-pointer-sign.patch deleted file mode 100644 index 5c63bbe1fd6e..000000000000 --- a/net-analyzer/mtr/files/mtr-0.75--Wno-pointer-sign.patch +++ /dev/null @@ -1,20 +0,0 @@ -=== modified file 'configure.in' ---- configure.in 2009-05-24 15:45:58 +0000 -+++ configure.in 2009-05-24 16:02:19 +0000 -@@ -107,8 +107,13 @@ - AC_MSG_CHECKING(for C flags to get more warnings) - ac_save_CFLAGS="$CFLAGS" - if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then -- dnl gcc is the easiest C compiler -- warning_CFLAGS="-Wall -Wno-pointer-sign" -+ warning_CFLAGS="-Wall" -+ # Check if compiler supports -Wno-pointer-sign and add it if supports -+ CFLAGS_saved="$CFLAGS" -+ CFLAGS="$CFLAGS -Wno-pointer-sign" -+ AC_COMPILE_IFELSE([ AC_LANG_SOURCE([[ int foo; ]])], -+ [ warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign" ],) -+ CFLAGS="$CFLAGS_saved" - else - dnl Vendor supplied C compilers are a bit tricky - case "$host_os" in - |