diff options
Diffstat (limited to 'pkgtools/gnome-packagekit/patches/patch-aclocal.m4')
-rw-r--r-- | pkgtools/gnome-packagekit/patches/patch-aclocal.m4 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgtools/gnome-packagekit/patches/patch-aclocal.m4 b/pkgtools/gnome-packagekit/patches/patch-aclocal.m4 new file mode 100644 index 00000000000..bc3a691762d --- /dev/null +++ b/pkgtools/gnome-packagekit/patches/patch-aclocal.m4 @@ -0,0 +1,18 @@ +$NetBSD: patch-aclocal.m4,v 1.1 2012/12/15 09:36:21 marino Exp $ + +* Disable -Werror for these reasons + - Numerous g_thread_init deprecated errors + - Numerous set-but-not-used error (gcc 4.6+) + +--- aclocal.m4.orig 2008-12-09 08:25:48.000000000 +0000 ++++ aclocal.m4 +@@ -546,9 +546,6 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ + unset SAVE_CFLAGS + done + unset option +- if test "$enable_compile_warnings" = "error" ; then +- warning_flags="$warning_flags -Werror" +- fi + ;; + *) + AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) |