summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-06-12 15:29:40 +0000
committerMichael Weber <xmw@gentoo.org>2011-06-12 15:29:40 +0000
commitf78f21162713f550e0510c4374a6ee67a595f393 (patch)
tree2f9934d2713e1deca77227668036cf8dc913a565 /net-nds/ldapvi/files
parentInitial commit. Required by qgis. (diff)
downloadgentoo-2-f78f21162713f550e0510c4374a6ee67a595f393.tar.gz
gentoo-2-f78f21162713f550e0510c4374a6ee67a595f393.tar.bz2
gentoo-2-f78f21162713f550e0510c4374a6ee67a595f393.zip
Revision bump to fix vim syntax
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'net-nds/ldapvi/files')
-rw-r--r--net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch b/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch
new file mode 100644
index 000000000000..d9431bed2de1
--- /dev/null
+++ b/net-nds/ldapvi/files/ldapvi-1.7-vim-encoding.patch
@@ -0,0 +1,13 @@
+From https://bugzilla.redhat.com/show_bug.cgi?id=691958
+
+--- ldapvi-1.7/ldapvi.c
++++ ldapvi-1.7/ldapvi.c
+@@ -1414,7 +1414,7 @@ write_file_header(FILE *s, cmdline *cmdline)
+ int nlines = 0;
+
+ if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) {
+- fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s);
++ fputs("# -*- coding: utf-8 -*- \n", s);
+ nlines++;
+ }
+ if (cmdline->ldif) {