From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 30 21:00:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDC3510656A3 for ; Mon, 30 Nov 2009 21:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7732E8FC1A for ; Mon, 30 Nov 2009 21:00:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAUL04oe057812 for ; Mon, 30 Nov 2009 21:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAUL04Zr057811; Mon, 30 Nov 2009 21:00:04 GMT (envelope-from gnats) Resent-Date: Mon, 30 Nov 2009 21:00:04 GMT Resent-Message-Id: <200911302100.nAUL04Zr057811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ashish SHUKLA Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6169106568B for ; Mon, 30 Nov 2009 20:59:41 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-px0-f195.google.com (mail-px0-f195.google.com [209.85.216.195]) by mx1.freebsd.org (Postfix) with ESMTP id AB2868FC1E for ; Mon, 30 Nov 2009 20:59:41 +0000 (UTC) Received: by pxi33 with SMTP id 33so3023537pxi.28 for ; Mon, 30 Nov 2009 12:59:41 -0800 (PST) Received: by 10.114.165.15 with SMTP id n15mr7657974wae.83.1259614780955; Mon, 30 Nov 2009 12:59:40 -0800 (PST) Received: from chateau.d.if ([122.161.225.19]) by mx.google.com with ESMTPS id 20sm3186882pzk.1.2009.11.30.12.59.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Nov 2009 12:59:40 -0800 (PST) Received: by chateau.d.if (Postfix, from userid 1001) id D7D904B34C; Tue, 1 Dec 2009 02:29:29 +0530 (IST) Message-Id: <20091130205929.D7D904B34C@chateau.d.if> Date: Tue, 1 Dec 2009 02:29:29 +0530 (IST) From: Ashish SHUKLA To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/141035: [PATCH] Fixing a compilation error in sysutils/xfce4-settings due to libxklavier. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ashish SHUKLA List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 21:00:04 -0000 >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: