From 73ceb3ad77dbfe02f4731a436cbec89af0f72a5f Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 4 Apr 2011 12:32:54 +0200 Subject: [PATCH] gnome-utils: fixed by disabling "shave" compile mode and by removing '-D*DISABLE_DEPRECATED' through GCC_WRAPPER --- gnome2/gnome-utils/gnome-utils.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnome2/gnome-utils/gnome-utils.conf b/gnome2/gnome-utils/gnome-utils.conf index fef7cfba4..607feb26d 100644 --- a/gnome2/gnome-utils/gnome-utils.conf +++ b/gnome2/gnome-utils/gnome-utils.conf @@ -17,4 +17,10 @@ # fix error: possibly undefined macro: AM_GCONF_SOURCE_2 hook_add preconf 9 "autoreconf -iv -I $(pkgprefix datadir gconf)/aclocal" +# fix compile error: unrecognized command line option "-fshave-mode=compile" +var_append extraconfopt ' ' '--disable-shave' + +# fix compile error: 'GTK_TYPE_COMBO_BOX_ENTRY' undeclared +var_append GCC_WRAPPER_REMOVE ' ' '-D*DISABLE_DEPRECATED' + confopt="$confopt --with-messages=/var/log/messages"