Bug 141035

Summary: [PATCH] Fixing a compilation error in sysutils/xfce4-settings due to libxklavier.
Product: Ports & Packages Reporter: Ashish Shukla <wahjava>
Component: Individual Port(s)Assignee: Oliver Lehmann <oliver>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Ashish Shukla 2009-11-30 21:00:04 UTC
When trying to build sysutils/xfce4-settings port, I received a compilation error.

Fix: The attached diff file fixes the issue for me.
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-11-30 21:00:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-12-02 16:32:45 UTC
oliver      2009-12-02 16:32:36 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/xfce4-settings Makefile 
  Log:
  - add optional xklavier support (default off)
  - fix compilation if xklavier support is enabled (PR)
  - bump portrevision
  
  PR:             141035
  Submitted by:   Ashish SHUKLA <wahjava@gmail.com>
  
  Revision  Changes    Path
  1.4       +17 -2     ports/sysutils/xfce4-settings/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Oliver Lehmann freebsd_committer freebsd_triage 2009-12-02 17:12:55 UTC
State Changed
From-To: open->closed

Fixed, thanks