diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-06-28 00:54:58 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-06-28 00:54:58 +0200 |
commit | 1105187fc65d8bf643e682fcef39620dcfd9326a (patch) | |
tree | 2ea293f032e3887658f93419edd51d38f0c7666b /dev-util | |
parent | app-admin/keepassxc: Removed old. (diff) | |
download | gentoo-1105187fc65d8bf643e682fcef39620dcfd9326a.tar.gz gentoo-1105187fc65d8bf643e682fcef39620dcfd9326a.tar.bz2 gentoo-1105187fc65d8bf643e682fcef39620dcfd9326a.zip |
dev-util/intltool: Revision bump for bug 614698
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch | 12 | ||||
-rw-r--r-- | dev-util/intltool/intltool-0.51.0-r2.ebuild | 30 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch b/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch new file mode 100644 index 000000000000..4af2ed8647e9 --- /dev/null +++ b/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch @@ -0,0 +1,12 @@ +diff -ruN intltool-0.51.0.orig/intltool-update.in intltool-0.51.0/intltool-update.in +--- intltool-0.51.0.orig/intltool-update.in 2017-06-28 00:47:20.889269294 +0200 ++++ intltool-0.51.0/intltool-update.in 2017-06-28 00:48:14.592271529 +0200 +@@ -1068,7 +1068,7 @@ + my $untouched = $1; + my $sub = ""; + # Ignore recursive definitions of variables +- $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; ++ $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\$\{?$2}?/; + + return SubstituteVariable ("$untouched$sub$rest"); + } diff --git a/dev-util/intltool/intltool-0.51.0-r2.ebuild b/dev-util/intltool/intltool-0.51.0-r2.ebuild new file mode 100644 index 000000000000..d93d95a74f04 --- /dev/null +++ b/dev-util/intltool/intltool-0.51.0-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Internationalization Tool Collection" +HOMEPAGE="https://launchpad.net/intltool/" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=" + dev-lang/perl + dev-perl/XML-Parser +" +RDEPEND="${DEPEND} + sys-devel/gettext +" +DOCS=( AUTHORS ChangeLog NEWS README TODO doc/I18N-HOWTO ) + +PATCHES=( + # Fix handling absolute paths in single file key output, bug #470040 + # https://bugs.launchpad.net/intltool/+bug/1168941 + "${FILESDIR}"/${PN}-0.50.2-absolute-paths.patch + "${FILESDIR}"/${PN}-0.51.0-perl-5.22.patch + "${FILESDIR}"/${PN}-0.51.0-perl-5.26.patch +) |