Date: Tue, 1 Dec 2009 02:29:29 +0530 (IST) From: Ashish SHUKLA <wahjava@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/141035: [PATCH] Fixing a compilation error in sysutils/xfce4-settings due to libxklavier. Message-ID: <20091130205929.D7D904B34C@chateau.d.if> Resent-Message-ID: <200911302100.nAUL04Zr057811@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141035 >Category: ports >Synopsis: [PATCH] Fixing a compilation error in sysutils/xfce4-settings due to libxklavier. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 30 21:00:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ashish SHUKLA >Release: FreeBSD 8.0-RELEASE amd64 >Organization: N/A >Environment: System: FreeBSD chateau.d.if 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Fri Nov 27 11:09:44 IST 2009 root@chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64 >Description: When trying to build sysutils/xfce4-settings port, I received a compilation error. >How-To-Repeat: % make -C /usr/ports/sysutils/xfce4-settings build ... ... ... cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDATADIR=\"/usr/local/share\" -DBINDIR=\"/usr/local/bin\" -DSRCDIR=\"../..\" -DLOCALEDIR=\"/usr/local/share/locale\" -DG_LOG_DOMAIN=\"xfce4-keyboard-settings\" -DNDEBUG -DG_DISABLE_CAST_CHECKS -I/usr/local/include -L/usr/local/lib -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_THREAD_SAFE -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman- 1 -I/usr/local/include/freetype2 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/xfce4/xfconf-0 -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2 .0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/atk-1.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -D_THREAD_SAFE -I/usr/local/include/exo-0.3 -I/usr/local/include/gtk-2.0 -I/usr/local/include/xfce4 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/xfce4/xfconf-0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pipe -msse -msse2 -msse3 -mmmx -march=native -mtune=native -fstack-protector-all -g -MT xfce4_keyboard_settings-xfce-keyboard-settings.o -MD -MP -MF .deps/xfce4_keyboard_settings-xfce-keyboard-settings.Tpo -c -o xfce4_keyboard_settings-xfce-keyboard-settings.o `test -f 'xfce-key board-settings.c' || echo './'`xfce-keyboard-settings.c xfce-keyboard-settings.c: In function 'xfce_keyboard_settings_constructed': xfce-keyboard-settings.c:381: error: too few arguments to function 'xkl_config_registry_load' gmake[4]: *** [xfce4_keyboard_settings-xfce-keyboard-settings.o] Error 1 gmake[4]: Leaving directory `/usr/ports/sysutils/xfce4-settings/work/xfce4-settings-4.6.1/dialogs/keyboard-settings' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/sysutils/xfce4-settings/work/xfce4-settings-4.6.1/dialogs/keyboard-settings' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/xfce4-settings/work/xfce4-settings-4.6.1/dialogs' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/xfce4-settings/work/xfce4-settings-4.6.1' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/sysutils/xfce4-settings. >Fix: The attached diff file fixes the issue for me. diff -urN /usr/ports/sysutils/xfce4-settings/files/patch-dialogs_keyboard-settings_xfce-keyboard-settings.c xfce4-settings/files/patch-dialogs_keyboard-settings_xfce-keyboard-settings.c --- /usr/ports/sysutils/xfce4-settings/files/patch-dialogs_keyboard-settings_xfce-keyboard-settings.c 1970-01-01 05:30:00.000000000 +0530 +++ xfce4-settings/files/patch-dialogs_keyboard-settings_xfce-keyboard-settings.c 2009-12-01 02:17:45.000000000 +0530 @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- dialogs/keyboard-settings/xfce-keyboard-settings.c.orig ++++ dialogs/keyboard-settings/xfce-keyboard-settings.c +@@ -378,7 +378,7 @@ + xkl_config_rec_get_from_server (settings->priv->xkl_rec_config, settings->priv->xkl_engine); + + settings->priv->xkl_registry = xkl_config_registry_get_instance (settings->priv->xkl_engine); +- xkl_config_registry_load (settings->priv->xkl_registry); ++ xkl_config_registry_load (settings->priv->xkl_registry, FALSE); + + /* Tab */ + xkb_tab_layout_vbox = glade_xml_get_widget (settings->priv->glade_xml, "xkb_tab_layout_vbox"); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091130205929.D7D904B34C>