summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2009-05-26 15:19:40 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2009-05-26 15:19:40 +0000
commitde3a5974e52ba7c60834e2dc067cbd3a251e6223 (patch)
tree58786c5c7e2b5983896ad83df6c4c12e16609595 /kde-base/kdelibs/files
parentRemove -Werror, causing build to abort with gcc-4.4.0. Bug #271251 (diff)
downloadgentoo-2-de3a5974e52ba7c60834e2dc067cbd3a251e6223.tar.gz
gentoo-2-de3a5974e52ba7c60834e2dc067cbd3a251e6223.tar.bz2
gentoo-2-de3a5974e52ba7c60834e2dc067cbd3a251e6223.zip
Fix perl highlight syntax, bug 247817
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r--kde-base/kdelibs/files/kdelibs-3.5-perl.xml.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-3.5-perl.xml.patch b/kde-base/kdelibs/files/kdelibs-3.5-perl.xml.patch
new file mode 100644
index 000000000000..74b476bda53d
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-3.5-perl.xml.patch
@@ -0,0 +1,11 @@
+--- kate/data/perl.xml 2005-11-09 00:38:50.000000000 +0200
++++ kate/data/perl.xml 2009-05-26 18:07:35.000000000 +0300
+@@ -363,7 +363,7 @@
+ <RegExpr attribute="Normal Text" context="#stay" String="\w+[=]" />
+
+ <RegExpr attribute="Operator" context="find_quoted" String="\bq(?=[qwx]?\s*[^\w\s])" />
+- <RegExpr attribute="Operator" context="find_subst" String="\bs(?=\s*[^\w\s])" />
++ <RegExpr attribute="Operator" context="find_subst" String="\bs(?=[^\w\s\]})])" />
+ <RegExpr attribute="Operator" context="tr" String="\b(?:tr|y)\s*(?=[^\w\s\]})])" />
+
+ <RegExpr attribute="Operator" context="find_pattern" String="\b(?:m|qr)(?=\s*[^\w\s\]})])" />