Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/gtk-doc/files: gtk-doc-1.15-fixxref-vim-fixes.patch
Date: Thu, 02 Sep 2010 12:37:03
Message-Id: 20100902123659.B303020054@flycatcher.gentoo.org
1 pacho 10/09/02 12:36:59
2
3 Added: gtk-doc-1.15-fixxref-vim-fixes.patch
4 Log:
5 Fix bug #333313
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gtk-doc/files/gtk-doc-1.15-fixxref-vim-fixes.patch?rev=1.1&content-type=text/plain
13
14 Index: gtk-doc-1.15-fixxref-vim-fixes.patch
15 ===================================================================
16 From 2bffebcf9c125f5610b8fb660d42c3c5b9dfd4f0 Mon Sep 17 00:00:00 2001
17 From: Stefan Kost <ensonic@××××××××.net>
18 Date: Thu, 19 Aug 2010 14:45:54 +0000
19 Subject: fixxref: tweak the vim invocation
20
21 Use specific output-filename to ensure we get what we'll late use. Use "-u NONE"
22 instead of -u /dev/null.
23 Fixes #627223
24 ---
25 diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in
26 index 33a31b8..9f53852 100755
27 --- a/gtkdoc-fixxref.in
28 +++ b/gtkdoc-fixxref.in
29 @@ -464,7 +464,7 @@ sub HighlightSourceVim {
30 close (NEWFILE);
31
32 # format source
33 - system "echo 'let html_number_lines=0|let html_use_css=1|let use_xhtml=1|syn on|e $temp_source_file|run! syntax/2html.vim|wa!|qa!' | @HIGHLIGHT@ -n -e -u /dev/null -T xterm >/dev/null";
34 + system "echo 'let html_number_lines=0|let html_use_css=1|let use_xhtml=1|syn on|e $temp_source_file|run! syntax/2html.vim|w! $temp_source_file.html|qa!' | @HIGHLIGHT@ -n -e -u NONE -T xterm >/dev/null";
35
36 my $highlighted_source;
37 {
38 --
39 cgit v0.8.3.1