diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-04-25 23:35:30 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-04-25 23:37:36 +0200 |
commit | 2435d96ebec8478f3fcac96bff240e47d2143401 (patch) | |
tree | d55b43507c5b5666fcb34299cfe20efcf5197041 /dev-perl/Net-Jabber | |
parent | package.mask: Mask dev-perl/Text-Unaccent for removal (diff) | |
download | gentoo-2435d96ebec8478f3fcac96bff240e47d2143401.tar.gz gentoo-2435d96ebec8478f3fcac96bff240e47d2143401.tar.bz2 gentoo-2435d96ebec8478f3fcac96bff240e47d2143401.zip |
dev-perl/Net-Jabber: EAPI bump, fix bug 644034
Closes: https://bugs.gentoo.org/644034
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/Net-Jabber')
-rw-r--r-- | dev-perl/Net-Jabber/Net-Jabber-2.0.0-r2.ebuild | 26 | ||||
-rw-r--r-- | dev-perl/Net-Jabber/files/Net-Jabber-2.0-hash.patch | 19 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-perl/Net-Jabber/Net-Jabber-2.0.0-r2.ebuild b/dev-perl/Net-Jabber/Net-Jabber-2.0.0-r2.ebuild new file mode 100644 index 000000000000..196dd0b47c8c --- /dev/null +++ b/dev-perl/Net-Jabber/Net-Jabber-2.0.0-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=REATMON +DIST_VERSION=2.0 +inherit perl-module + +DESCRIPTION="Jabber Perl library" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-perl/XML-Stream + dev-perl/Net-XMPP + dev-perl/Digest-SHA1 +" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.0-no-dot-inc.patch" + "${FILESDIR}/${PN}-2.0-hash.patch" +) diff --git a/dev-perl/Net-Jabber/files/Net-Jabber-2.0-hash.patch b/dev-perl/Net-Jabber/files/Net-Jabber-2.0-hash.patch new file mode 100644 index 000000000000..597aa8dcd56c --- /dev/null +++ b/dev-perl/Net-Jabber/files/Net-Jabber-2.0-hash.patch @@ -0,0 +1,19 @@ +Description: feed hash to RPCEncode_Value() sorted +Origin: vendor +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=87436 +Bug-Debian: https://bugs.debian.org/720271 +Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=87436 +Author: gregor herrmann <gregoa@debian.org> +Last-Update: 2014-07-26 + +--- a/lib/Net/Jabber/Protocol.pm ++++ b/lib/Net/Jabber/Protocol.pm +@@ -2239,7 +2239,7 @@ + elsif (ref($value) eq "HASH") + { + my $struct = $obj->AddValue()->AddStruct(); +- foreach my $key (keys(%{$value})) ++ foreach my $key (sort keys(%{$value})) + { + $self->RPCEncode_Value($struct->AddMember(name=>$key),$value->{$key}); + } |