public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gordon Malm (gengor)" <gengor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/systemsettings/files: systemsettings-4.2.1-kxkb-strip-hot_plugging-support.patch
Date: Mon, 13 Apr 2009 22:56:02 +0000	[thread overview]
Message-ID: <E1LtV4M-0007Tx-R5@stork.gentoo.org> (raw)

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
 






                 reply	other threads:[~2009-04-13 22:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LtV4M-0007Tx-R5@stork.gentoo.org \
    --to=gengor@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox