Bug 263199 - [PATCH] kcm_keyboard 4.5.4 fails to build
Summary: [PATCH] kcm_keyboard 4.5.4 fails to build
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 08:21 UTC by esigra
Modified: 2011-01-22 20:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 4.6
Sentry Crash Report:


Attachments
patch that fixes the build (2.61 KB, patch)
2011-01-15 08:21 UTC, esigra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esigra 2011-01-15 08:21:58 UTC
Created attachment 56035 [details]
patch that fixes the build

Version:           unspecified (using KDE 4.5.5) 
OS:                Linux

Previously reported to [http://lists.kde.org/?l=kde-devel&m=129320309007512&w=2].

Reproducible: Always

Steps to Reproduce:
1. tar jxvf /usr/portage/distfiles/kdebase-workspace-4.5.5.tar.bz2
2. cd kdebase-workspace-4.5.5
3. mkdir build
4. cd build
5. cmake -DKDE4_ENABLE_FINAL=ON ..
6. make kcm_keyboard

Actual Results:  
In file included from /usr/include/qt4/QtCore/QDir:1,                                                                                                                                                      
                 from /home/work/programmering/kdebase-workspace-4.5.5/kcontrol/keyboard/xkb_helper.cpp:22,
                 from /home/work/programmering/kdebase-workspace-4.5.5/build/kcontrol/keyboard/kcm_keyboard_final_cpp.cpp:8:
/usr/include/qt4/QtCore/qdir.h:107: fel: expected identifier before numeric constant
/usr/include/qt4/QtCore/qdir.h:107: fel: expected "}" before numeric constant
/usr/include/qt4/QtCore/qdir.h:107: fel: expected unqualified-id before numeric constant
Comment 1 Andriy Rysin 2011-01-22 20:26:50 UTC
SVN commit 1216340 by rysin:

Fix X11 defines
BUG: 263199

 M  +1 -0      x11_helper.cpp  
 M  +2 -0      xinput_helper.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1216340
Comment 2 Andriy Rysin 2011-01-22 20:27:38 UTC
SVN commit 1216341 by rysin:

Fix X11 defines
BUG: 263199
FIXED-IN: 4.6

 M  +1 -0      x11_helper.cpp  
 M  +2 -0      xinput_helper.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1216341