1 |
commit: 2435d96ebec8478f3fcac96bff240e47d2143401 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 25 21:35:30 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 25 21:37:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2435d96e |
7 |
|
8 |
dev-perl/Net-Jabber: EAPI bump, fix bug 644034 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/644034 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
13 |
|
14 |
dev-perl/Net-Jabber/Net-Jabber-2.0.0-r2.ebuild | 26 ++++++++++++++++++++++ |
15 |
.../Net-Jabber/files/Net-Jabber-2.0-hash.patch | 19 ++++++++++++++++ |
16 |
2 files changed, 45 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000000..196dd0b47c8 |
21 |
--- /dev/null |
22 |
+++ b/dev-perl/Net-Jabber/Net-Jabber-2.0.0-r2.ebuild |
23 |
@@ -0,0 +1,26 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+DIST_AUTHOR=REATMON |
30 |
+DIST_VERSION=2.0 |
31 |
+inherit perl-module |
32 |
+ |
33 |
+DESCRIPTION="Jabber Perl library" |
34 |
+ |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
37 |
+IUSE="" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ dev-perl/XML-Stream |
41 |
+ dev-perl/Net-XMPP |
42 |
+ dev-perl/Digest-SHA1 |
43 |
+" |
44 |
+BDEPEND="${RDEPEND}" |
45 |
+ |
46 |
+PATCHES=( |
47 |
+ "${FILESDIR}/${PN}-2.0-no-dot-inc.patch" |
48 |
+ "${FILESDIR}/${PN}-2.0-hash.patch" |
49 |
+) |
50 |
|
51 |
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 |
52 |
new file mode 100644 |
53 |
index 00000000000..597aa8dcd56 |
54 |
--- /dev/null |
55 |
+++ b/dev-perl/Net-Jabber/files/Net-Jabber-2.0-hash.patch |
56 |
@@ -0,0 +1,19 @@ |
57 |
+Description: feed hash to RPCEncode_Value() sorted |
58 |
+Origin: vendor |
59 |
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=87436 |
60 |
+Bug-Debian: https://bugs.debian.org/720271 |
61 |
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=87436 |
62 |
+Author: gregor herrmann <gregoa@××××××.org> |
63 |
+Last-Update: 2014-07-26 |
64 |
+ |
65 |
+--- a/lib/Net/Jabber/Protocol.pm |
66 |
++++ b/lib/Net/Jabber/Protocol.pm |
67 |
+@@ -2239,7 +2239,7 @@ |
68 |
+ elsif (ref($value) eq "HASH") |
69 |
+ { |
70 |
+ my $struct = $obj->AddValue()->AddStruct(); |
71 |
+- foreach my $key (keys(%{$value})) |
72 |
++ foreach my $key (sort keys(%{$value})) |
73 |
+ { |
74 |
+ $self->RPCEncode_Value($struct->AddMember(name=>$key),$value->{$key}); |
75 |
+ } |