Author: baggins Date: Fri Oct 1 09:10:43 2010 GMT Module: packages Tag: HEAD ---- Log message: - rel 6 - set vim syntax
---- Files affected: packages/ldapvi: ldapvi.spec (1.21 -> 1.22) , ldapvi-vim-syntax.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/ldapvi/ldapvi.spec diff -u packages/ldapvi/ldapvi.spec:1.21 packages/ldapvi/ldapvi.spec:1.22 --- packages/ldapvi/ldapvi.spec:1.21 Sun May 16 12:35:41 2010 +++ packages/ldapvi/ldapvi.spec Fri Oct 1 11:10:37 2010 @@ -3,12 +3,13 @@ Summary(pl.UTF-8): Edytor LDAP LDIF Name: ldapvi Version: 1.7 -Release: 5 +Release: 6 License: GPL v2 Group: Networking/Utilities Source0: http://www.lichteblau.com/download/%{name}-%{version}.tar.gz # Source0-md5: 6dc2f5441ac5f1e2b5b036e3521012cc Patch0: %{name}-getline.patch +Patch1: %{name}-vim-syntax.patch URL: http://www.lichteblau.com/ldapvi/ BuildRequires: autoconf BuildRequires: automake @@ -33,6 +34,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 sed -i -e 's#curses ncurses#tinfo curses ncurses#g' configure.in %build @@ -64,6 +66,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.22 2010/10/01 09:10:37 baggins +- rel 6 +- set vim syntax + Revision 1.21 2010/05/16 10:35:41 sparky - BR: readline-devel ================================================================ Index: packages/ldapvi/ldapvi-vim-syntax.patch diff -u /dev/null packages/ldapvi/ldapvi-vim-syntax.patch:1.1 --- /dev/null Fri Oct 1 11:10:43 2010 +++ packages/ldapvi/ldapvi-vim-syntax.patch Fri Oct 1 11:10:37 2010 @@ -0,0 +1,18 @@ +--- ldapvi-1.7/ldapvi.c~ 2010-10-01 11:04:21.118669165 +0200 ++++ ldapvi-1.7/ldapvi.c 2010-10-01 11:08:51.905669166 +0200 +@@ -1413,10 +1413,11 @@ + { + int nlines = 0; + +- if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) { +- fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s); +- nlines++; +- } ++ if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) ++ fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:syntax=ldif:\n", s); ++ else ++ fputs("# vim:syntax=ldif:\n", s); ++ nlines++; + if (cmdline->ldif) { + fputs("# " RFC_2849_URL "\n" "# " MANUAL_LDIF_URL "\n", s); + nlines += 2; ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ldapvi/ldapvi.spec?r1=1.21&r2=1.22&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
