summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-02-11 22:49:53 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-02-11 22:49:53 +0000
commit73cf865eb28e5b625dfd9d2c5eccb7a8232faee0 (patch)
tree27de06f07f4889bb8d19cc5cebbcb9124409e0d8 /app-vim/gentoo-syntax/files
parentGCC 4 compat update, closes bug #80759. (diff)
downloadgentoo-2-73cf865eb28e5b625dfd9d2c5eccb7a8232faee0.tar.gz
gentoo-2-73cf865eb28e5b625dfd9d2c5eccb7a8232faee0.tar.bz2
gentoo-2-73cf865eb28e5b625dfd9d2c5eccb7a8232faee0.zip
Fix up escapes
(Portage version: 2.0.51.16)
Diffstat (limited to 'app-vim/gentoo-syntax/files')
-rw-r--r--app-vim/gentoo-syntax/files/gentoo-syntax-20050211-fix-escapes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-vim/gentoo-syntax/files/gentoo-syntax-20050211-fix-escapes.patch b/app-vim/gentoo-syntax/files/gentoo-syntax-20050211-fix-escapes.patch
new file mode 100644
index 000000000000..8217be093d8d
--- /dev/null
+++ b/app-vim/gentoo-syntax/files/gentoo-syntax-20050211-fix-escapes.patch
@@ -0,0 +1,13 @@
+Index: plugin/gentoo-common.vim
+===================================================================
+--- plugin/gentoo-common.vim (revision 138)
++++ plugin/gentoo-common.vim (working copy)
+@@ -28,7 +28,7 @@
+ return g:gentooarch
+ else
+ let l:a = system("portageq envvar ACCEPT_KEYWORDS 2>/dev/null")
+- let l:a = substitute(l:a, "\\n\|\\~", " ", "g")
++ let l:a = substitute(l:a, "[\\n~]", " ", "g")
+ let l:a = substitute(l:a, "^\\s\\+", "", "")
+ let l:a = substitute(l:a, "\\s.*", "", "")
+ if l:a == ""