Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / gnome-packagekit / patches / patch-configure
blobba54f6ec0fe3e3b4983d50b543289eca5d533807
1 $NetBSD$
3 * Disable -Werror for these reasons
4   - Numerous g_thread_init deprecated errors
5   - Numerous set-but-not-used error (gcc 4.6+)
7 --- configure.orig      2008-12-09 08:25:54.000000000 +0000
8 +++ configure
9 @@ -21043,9 +21043,6 @@ $as_echo "$has_option" >&6; }
10                 unset SAVE_CFLAGS
11         done
12         unset option
13 -       if test "$enable_compile_warnings" = "error" ; then
14 -           warning_flags="$warning_flags -Werror"
15 -       fi
16         ;;
17      *)
18         { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
19 @@ -21574,7 +21571,7 @@ fi
22  if test "$GCC" = "yes"; then
23 -       CPPFLAGS="$CPPFLAGS -Werror -Wcast-align -Wno-uninitialized"
24 +       CPPFLAGS="$CPPFLAGS -Wcast-align -Wno-uninitialized"
25         CPPFLAGS="$CPPFLAGS -Wall -Wformat-security"
26  #      CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
27         CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"