dia (0.97.1-7) remove-std-c89.patch


 configure.in |    1 -
 1 file changed, 1 deletion(-)

download this patch

Patch contents

Description: Don't use --std=c89
 This patch fixes implicit pointer conversions by disabling the c89 GCC option
Author: Roland Stigge <stigge@antcom.de>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364544

--- dia-0.97.1.orig/configure.in
+++ dia-0.97.1/configure.in
@@ -411,7 +411,6 @@ if test "$GCC" = yes; then
   dnl DIA_CHECK_CFLAG(-Wunused)
-  DIA_CHECK_CFLAG(--std=c89)
   dnl I'd rather like to enable this but it fails on isnan() with -std=c89
   dnl DIA_CHECK_CFLAG(-Werror-implicit-function-declaration)