packages: vim/vim.spec, vim/vim-ft-mysql.patch (NEW) - allow multiple under...

glen glen at pld-linux.org
Mon Apr 19 18:02:21 CEST 2010


Author: glen                         Date: Mon Apr 19 16:02:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- allow multiple underscores in user (and system) variables like @@tmp_table_size

---- Files affected:
packages/vim:
   vim.spec (1.504 -> 1.505) , vim-ft-mysql.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim/vim.spec
diff -u packages/vim/vim.spec:1.504 packages/vim/vim.spec:1.505
--- packages/vim/vim.spec:1.504	Thu Apr 15 14:10:43 2010
+++ packages/vim/vim.spec	Mon Apr 19 18:02:12 2010
@@ -114,6 +114,7 @@
 Patch114:	%{name}-rtdir.patch
 Patch115:	%{name}-ft-mib.patch
 Patch116:	%{name}-ft-lib-udevrules.patch
+Patch117:	%{name}-ft-mysql.patch
 URL:		http://www.vim.org/
 BuildRequires:	acl-devel
 BuildRequires:	autoconf
@@ -726,6 +727,7 @@
 %patch114 -p1
 %patch115 -p1
 %patch116 -p1
+%patch117 -p1
 
 cp -a %{SOURCE20} runtime/syntax
 cp -a %{SOURCE22} runtime/syntax
@@ -1370,6 +1372,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.505  2010/04/19 16:02:12  glen
+- allow multiple underscores in user (and system) variables like @@tmp_table_size
+
 Revision 1.504  2010/04/15 12:10:43  arekm
 - release 3
 

================================================================
Index: packages/vim/vim-ft-mysql.patch
diff -u /dev/null packages/vim/vim-ft-mysql.patch:1.1
--- /dev/null	Mon Apr 19 18:02:22 2010
+++ packages/vim/vim-ft-mysql.patch	Mon Apr 19 18:02:12 2010
@@ -0,0 +1,11 @@
+--- vim72/runtime/syntax/mysql.vim~	2007-12-20 06:09:52.000000000 +0200
++++ vim72/runtime/syntax/mysql.vim	2010-04-19 18:51:24.000000000 +0300
+@@ -62,7 +62,7 @@
+ syn match mysqlNumber            "\<0x[abcdefABCDEF0-9]*\>"
+ 
+ " User variables
+-syn match mysqlVariable          "@\a*[A-Za-z0-9]*[._]*[A-Za-z0-9]*"
++syn match mysqlVariable          "@\a*[A-Za-z0-9]*\([._]*[A-Za-z0-9]\)*"
+ 
+ " Comments (c-style, mysql-style and modified sql-style)
+ syn region mysqlComment          start="/\*"  end="\*/"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim.spec?r1=1.504&r2=1.505&f=u



More information about the pld-cvs-commit mailing list