summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-10-16 08:03:29 +0000
committerTorsten Veller <tove@gentoo.org>2010-10-16 08:03:29 +0000
commit60fc89f4daa346a114284f43efae93b5655dd634 (patch)
treeeaf8c134baa793a1fcfa97fe0660c99e774ec5d8 /dev-perl
parentDisable online tests (diff)
downloadgentoo-2-60fc89f4daa346a114284f43efae93b5655dd634.tar.gz
gentoo-2-60fc89f4daa346a114284f43efae93b5655dd634.tar.bz2
gentoo-2-60fc89f4daa346a114284f43efae93b5655dd634.zip
Patch the "Use of uninitialized value" warning
(Portage version: 2.2_rc96/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Net-XMPP/ChangeLog8
-rw-r--r--dev-perl/Net-XMPP/Net-XMPP-1.02-r1.ebuild23
-rw-r--r--dev-perl/Net-XMPP/files/1.02-defined.patch14
3 files changed, 44 insertions, 1 deletions
diff --git a/dev-perl/Net-XMPP/ChangeLog b/dev-perl/Net-XMPP/ChangeLog
index 12cda5e54180..900f356357c8 100644
--- a/dev-perl/Net-XMPP/ChangeLog
+++ b/dev-perl/Net-XMPP/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/Net-XMPP
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-XMPP/ChangeLog,v 1.26 2010/02/05 20:56:47 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-XMPP/ChangeLog,v 1.27 2010/10/16 08:03:29 tove Exp $
+
+*Net-XMPP-1.02-r1 (16 Oct 2010)
+
+ 16 Oct 2010; Torsten Veller <tove@gentoo.org> +files/1.02-defined.patch,
+ +Net-XMPP-1.02-r1.ebuild:
+ Patch the "Use of uninitialized value" warning
05 Feb 2010; Torsten Veller <tove@gentoo.org> Net-XMPP-1.02.ebuild:
Fix LICENSE (#301969). Maintenance
diff --git a/dev-perl/Net-XMPP/Net-XMPP-1.02-r1.ebuild b/dev-perl/Net-XMPP/Net-XMPP-1.02-r1.ebuild
new file mode 100644
index 000000000000..dfab7c5245c6
--- /dev/null
+++ b/dev-perl/Net-XMPP/Net-XMPP-1.02-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-XMPP/Net-XMPP-1.02-r1.ebuild,v 1.1 2010/10/16 08:03:29 tove Exp $
+
+EAPI=2
+
+MODULE_AUTHOR=HACKER
+inherit perl-module
+
+DESCRIPTION="XMPP Perl Library"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/XML-Stream-1.22
+ dev-perl/Digest-SHA1"
+DEPEND="virtual/perl-Module-Build
+ ${RDEPEND}"
+
+SRC_TEST="do"
+PATCHES=( "${FILESDIR}"/1.02-defined.patch )
diff --git a/dev-perl/Net-XMPP/files/1.02-defined.patch b/dev-perl/Net-XMPP/files/1.02-defined.patch
new file mode 100644
index 000000000000..adac59b481e4
--- /dev/null
+++ b/dev-perl/Net-XMPP/files/1.02-defined.patch
@@ -0,0 +1,14 @@
+https://rt.cpan.org/Public/Bug/Display.html?id=58333
+http://github.com/dap/Net-XMPP/commit/2d1164d7c50d7c034f3d1efb03ad9319b24dfd24
+
+--- Net-XMPP-1.02/lib/Net/XMPP/Debug.pm
++++ Net-XMPP-1.02/lib/Net/XMPP/Debug.pm
+@@ -151,7 +151,7 @@
+ my %args;
+ while($#_ >= 0) { $args{ lc pop(@_) } = pop(@_); }
+
+- delete($args{file}) if (lc($args{file}) eq "stdout");
++ delete($args{file}) if (defined $args{file} && lc($args{file}) eq "stdout");
+
+ $args{time} = 0 if !exists($args{time});
+ $args{setdefault} = 0 if !exists($args{setdefault});