summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-10-10 14:01:51 +0000
committerAli Polatel <hawking@gentoo.org>2008-10-10 14:01:51 +0000
commit34383d0aa2e30da732ae38198669744d7e79744b (patch)
tree58fe479d49a91d2dd2c84aaaba2366ed0735c823 /app-vim
parentShorten DESCRIPTION, bug 211377. (diff)
downloadgentoo-2-34383d0aa2e30da732ae38198669744d7e79744b.tar.gz
gentoo-2-34383d0aa2e30da732ae38198669744d7e79744b.tar.bz2
gentoo-2-34383d0aa2e30da732ae38198669744d7e79744b.zip
Add fixed patch for 2.18, bug 238436, thanks to Andrew Savchenko <Bircoph@list.ru>.
(Portage version: -svn/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/alternate/ChangeLog7
-rw-r--r--app-vim/alternate/alternate-2.18.ebuild4
-rw-r--r--app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch18
3 files changed, 26 insertions, 3 deletions
diff --git a/app-vim/alternate/ChangeLog b/app-vim/alternate/ChangeLog
index e6c7e2b9f74b..f3358356e6da 100644
--- a/app-vim/alternate/ChangeLog
+++ b/app-vim/alternate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-vim/alternate
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/ChangeLog,v 1.40 2008/09/20 08:05:29 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/ChangeLog,v 1.41 2008/10/10 14:01:51 hawking Exp $
+
+ 10 Oct 2008; Ali Polatel <hawking@gentoo.org>
+ +files/alternate-2.18-hh-cc-alternation.patch, alternate-2.18.ebuild:
+ Add fixed patch for 2.18, bug 238436, thanks to Andrew Savchenko
+ <Bircoph@list.ru>.
*alternate-2.18 (20 Sep 2008)
diff --git a/app-vim/alternate/alternate-2.18.ebuild b/app-vim/alternate/alternate-2.18.ebuild
index acffda22ad5b..75fb7c5dbb78 100644
--- a/app-vim/alternate/alternate-2.18.ebuild
+++ b/app-vim/alternate/alternate-2.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/alternate-2.18.ebuild,v 1.1 2008/09/20 08:05:29 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-vim/alternate/alternate-2.18.ebuild,v 1.2 2008/10/10 14:01:51 hawking Exp $
inherit vim-plugin eutils
@@ -20,5 +20,5 @@ src_unpack() {
unpack ${A}
cd "${S}"
# fix switching between .cc and .hh files, thanks ciaranm
- epatch "${FILESDIR}"/${PN}-2.12-hh-cc-alternation.patch
+ epatch "${FILESDIR}"/${P}-hh-cc-alternation.patch
}
diff --git a/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
new file mode 100644
index 000000000000..3ea591e1e2fe
--- /dev/null
+++ b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
@@ -0,0 +1,18 @@
+--- plugin/a.vim 2005-05-06 22:20:24.000000000 +0100
++++ plugin/a.vim 2005-06-20 15:45:45.000000000 +0100
+@@ -57,13 +57,14 @@
+ " Mappings for C and C++
+ call <SID>AddAlternateExtensionMapping('h',"c,cpp,cxx,cc,CC")
+ call <SID>AddAlternateExtensionMapping('H',"C,CPP,CXX,CC")
++call <SID>AddAlternateExtensionMapping('hh',"c,cpp,cxx,cc,CC")
+ call <SID>AddAlternateExtensionMapping('hpp',"cpp,c")
+ call <SID>AddAlternateExtensionMapping('HPP',"CPP,C")
+ call <SID>AddAlternateExtensionMapping('c',"h")
+ call <SID>AddAlternateExtensionMapping('C',"H")
+ call <SID>AddAlternateExtensionMapping('cpp',"h,hpp")
+ call <SID>AddAlternateExtensionMapping('CPP',"H,HPP")
+-call <SID>AddAlternateExtensionMapping('cc',"h")
++call <SID>AddAlternateExtensionMapping('cc',"h,hh")
+ call <SID>AddAlternateExtensionMapping('CC',"H,h")
+ call <SID>AddAlternateExtensionMapping('cxx',"h")
+ call <SID>AddAlternateExtensionMapping('CXX',"H")