diff options
Diffstat (limited to 'dev-vcs/git/files/git-1.8.2-texinfo.patch')
-rw-r--r-- | dev-vcs/git/files/git-1.8.2-texinfo.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-1.8.2-texinfo.patch b/dev-vcs/git/files/git-1.8.2-texinfo.patch new file mode 100644 index 0000000..b8881d4 --- /dev/null +++ b/dev-vcs/git/files/git-1.8.2-texinfo.patch @@ -0,0 +1,19 @@ +Strip anchors to avoid duplicate anchor names. This keeps texinfo 5-x happy. + +2013-04-02 Martin von Gagern + +References: +* https://bugs.gentoo.org/464210 + +Index: git-1.8.1.5/Documentation/cat-texi.perl +=================================================================== +--- git-1.8.1.5.orig/Documentation/cat-texi.perl ++++ git-1.8.1.5/Documentation/cat-texi.perl +@@ -12,6 +12,7 @@ while (<STDIN>) { + push @menu, $1; + } + s/\(\@pxref{\[(URLS|REMOTES)\]}\)//; ++ s/\@anchor\{[^{}]*\}//g; + print TMP; + } + close TMP; |