summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-14 09:28:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-14 09:28:04 +0000
commit249304104d5eb38c013e6dba665d713cffc47fcc (patch)
treeddd82395ffded43638f34d20deb11e9df2855ff8 /kde-base/kxkb/files/kxkb-3.5.0-modularxkb.patch
parentUse patch from tarball in mirrors. (diff)
downloadgentoo-2-249304104d5eb38c013e6dba665d713cffc47fcc.tar.gz
gentoo-2-249304104d5eb38c013e6dba665d713cffc47fcc.tar.bz2
gentoo-2-249304104d5eb38c013e6dba665d713cffc47fcc.zip
Use patch from tarball in mirrors.
(Portage version: 2529-svn)
Diffstat (limited to 'kde-base/kxkb/files/kxkb-3.5.0-modularxkb.patch')
-rw-r--r--kde-base/kxkb/files/kxkb-3.5.0-modularxkb.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/kde-base/kxkb/files/kxkb-3.5.0-modularxkb.patch b/kde-base/kxkb/files/kxkb-3.5.0-modularxkb.patch
deleted file mode 100644
index 47eea8ee7efa..000000000000
--- a/kde-base/kxkb/files/kxkb-3.5.0-modularxkb.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: kdebase-3.5.0/kxkb/rules.cpp
-===================================================================
---- kdebase-3.5.0.orig/kxkb/rules.cpp
-+++ kdebase-3.5.0/kxkb/rules.cpp
-@@ -17,13 +17,13 @@
-
- #include "rules.h"
-
--const char* X11DirList[3] = {"/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/", "/usr/share/X11/"};
-+const char* X11DirList[6] = {"/usr/share/X11/", "/usr/local/share/X11/", "/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/", "/usr/lib/X11/", "/usr/local/lib/X11/"};
- const char* rulesFileList[2] = {"xkb/rules/xorg", "xkb/rules/xfree86"};
-
- KeyRules::KeyRules():
- m_layouts(90)
- {
-- for(int ii=0; ii<3; ii++)
-+ for(int ii=0; ii<6; ii++)
- if( QDir(X11DirList[ii]).exists() ) {
- X11_DIR = X11DirList[ii];
- break;
-@@ -292,8 +292,8 @@ KeyRules::getVariants(const QString& lay
-
- void KeyRules::parseVariants(const QStringList& vars, QDict<char>& variants, bool chkVars)
- {
-- static const char* LAYOUT_PATTERN = "[a-z0-9_]*";
-- static const char* VARIANT_PATTERN = "\\([a-z0-9_]*\\)";
-+ static const char* LAYOUT_PATTERN = "[a-z0-9_-]*";
-+ static const char* VARIANT_PATTERN = "\\([a-z0-9_-]*\\)";
- for (QStringList::ConstIterator it = vars.begin(); it != vars.end(); ++it)
- {
- QString varLine = (*it).stripWhiteSpace();