pstoedit/pstoedit-3.45-gcc4_no_pedantic.patch

25 lines
1.1 KiB
Diff
Raw Permalink Normal View History

diff -Nru pstoedit-3.45.orig/configure pstoedit-3.45/configure
--- pstoedit-3.45.orig/configure 2007-08-10 22:26:10.000000000 +0200
+++ pstoedit-3.45/configure 2008-06-17 10:15:20.000000000 +0200
@@ -22282,7 +22282,7 @@
else
{ echo "$as_me:$LINENO: result: GNU" >&5
echo "${ECHO_T}GNU" >&6; }
- SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
+ SPECIAL_CXXFLAGS="-DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
fi
CXXFLAGS="-g"
elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
diff -Nru pstoedit-3.45.orig/configure.ac pstoedit-3.45/configure.ac
--- pstoedit-3.45.orig/configure.ac 2007-08-10 22:23:26.000000000 +0200
+++ pstoedit-3.45/configure.ac 2008-06-17 10:15:28.000000000 +0200
@@ -394,7 +394,7 @@
AC_SUBST(LDLIBS)
else
AC_MSG_RESULT([GNU])
- SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
+ SPECIAL_CXXFLAGS="-DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
fi
CXXFLAGS="-g"
elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then