Package: guile Version: 1.8.8+1-6 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hi, currently guile does not compile on hurd-i386. The problem is the -Werror in configure.in for gcc-4.6. The attached patch fixes this issue and does also solve the general case in bug #625355. Thanks, Svante
--- guile-1.8-1.8.8+1/configure.in 2011-08-17 18:18:38.000000000 +0000 +++ guile-1.8-1.8.8+1.modified/configure.in 2011-08-17 16:22:39.000000000 +0000 @@ -99,8 +99,17 @@ # User options (after above tests that may set default CFLAGS etc.) # #-------------------------------------------------------------------- - -GUILE_ERROR_ON_WARNING="yes" +if test "$GCC" = "yes"; then + GCC_VERSION=`$CC -dumpversion` + case $GCC_VERSION in + 4.4.*) + GUILE_ERROR_ON_WARNING="yes" + ;; + 4.6.*) + GUILE_ERROR_ON_WARNING="no" + ;; + esac +fi AC_ARG_ENABLE(error-on-warning, [ --enable-error-on-warning treat compile warnings as errors],