* [gentoo-commits] gentoo-x86 commit in kde-base/systemsettings/files: systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch
@ 2009-04-13 22:56 Gordon Malm (gengor)
0 siblings, 0 replies; only message in thread
From: Gordon Malm (gengor) @ 2009-04-13 22:56 UTC (permalink / raw
To: gentoo-commits
gengor 09/04/13 22:56:02
Added:
systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch
Log:
Add patch to allow compile with <gcc-4.1.2.
(Portage version: 2.1.6.7/cvs/Linux i686, RepoMan options: --force)
Revision Changes Path
1.1 kde-base/systemsettings/files/systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/systemsettings/files/systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/systemsettings/files/systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch?rev=1.1&content-type=text/plain
Index: systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch
===================================================================
From: Gordon Malm <gengor@gentoo.org>
Strip keyboard hot-plugging support out of systemsettings' kxkb module.
Systemsettings' keyboard hot-plugging code relies on override abilities
found only in GCC 4.1.2 and later.
See: http://bugs.gentoo.org/256827
--- a/kcontrol/kxkb/CMakeLists.txt
+++ b/kcontrol/kxkb/CMakeLists.txt
@@ -51,9 +51,6 @@ if(USE_XKLAVIER STREQUAL ON)
endif(USE_XKLAVIER STREQUAL ON)
macro_log_feature(X11_Xkbfile_FOUND "xkbfile" "X11 KXB library for keyboard handling software" "http://www.x.org" FALSE "" "xkbfile is required to build kxkb.")
-macro_bool_to_01(X11_Xinput_FOUND HAVE_XINPUT)
-ADD_DEFINITIONS(-DHAVE_XINPUT=${HAVE_XINPUT})
-
if(X11_Xkbfile_FOUND AND HAVE_XKLAVIER)
#MESSAGE("xkb support libs:: ${XKB_SUPPORT_LIB}")
--- a/kcontrol/kxkb/x11helper.cpp
+++ b/kcontrol/kxkb/x11helper.cpp
@@ -425,7 +425,7 @@ X11Helper::isNewDeviceEvent(XEvent* even
int
X11Helper::registerForNewDeviceEvent(Display* display)
{
- kWarn() << "Kxkb is compiled without XInput, xkb configuration will be reset when new keyboard device is plugged in!";
+ kWarning() << "Kxkb is compiled without XInput, xkb configuration will be reset when new keyboard device is plugged in!";
return -1;
}
#endif
--- a/kcontrol/kxkb/x11helper.h
+++ b/kcontrol/kxkb/x11helper.h
@@ -64,9 +64,9 @@ public:
static QString getWindowClass(Window winId, Display* dpy);
-#ifdef HAVE_XINPUT
static int registerForNewDeviceEvent(Display* dpy);
static int isNewDeviceEvent(XEvent* event);
+#ifdef HAVE_XINPUT
static int m_xinputEventType;
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-13 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 22:56 [gentoo-commits] gentoo-x86 commit in kde-base/systemsettings/files: systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch Gordon Malm (gengor)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox