diff options
author | heinz <heinz@pkgsrc.org> | 2010-02-13 22:18:24 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2010-02-13 22:18:24 +0000 |
commit | c112c7cfd153bcf372671282479fe1c657acaf20 (patch) | |
tree | 13afc427d2324f6f591b77de447bb2c80aaffcd3 /net | |
parent | c8bace106c94197a08dac363dc3e1353267ae723 (diff) | |
download | pkgsrc-c112c7cfd153bcf372671282479fe1c657acaf20.tar.gz |
Shut up "Prototype mismatch:: none vs ()" warning. From Debian.
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Ident/Makefile | 4 | ||||
-rw-r--r-- | net/p5-Net-Ident/distinfo | 4 | ||||
-rw-r--r-- | net/p5-Net-Ident/patches/patch-aa | 20 |
3 files changed, 14 insertions, 14 deletions
diff --git a/net/p5-Net-Ident/Makefile b/net/p5-Net-Ident/Makefile index 3e7a742fbc4..a1a73ae0c25 100644 --- a/net/p5-Net-Ident/Makefile +++ b/net/p5-Net-Ident/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2010/01/21 17:41:06 heinz Exp $ +# $NetBSD: Makefile,v 1.5 2010/02/13 22:18:24 heinz Exp $ # DISTNAME= Net-Ident-1.20 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 SVR4_PKGNAME= p5nid CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} diff --git a/net/p5-Net-Ident/distinfo b/net/p5-Net-Ident/distinfo index 5ea448425c6..1db5bebb2c5 100644 --- a/net/p5-Net-Ident/distinfo +++ b/net/p5-Net-Ident/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/10/16 17:42:46 heinz Exp $ +$NetBSD: distinfo,v 1.2 2010/02/13 22:18:24 heinz Exp $ SHA1 (Net-Ident-1.20.tar.gz) = 1780c4048c9f9b49477103bf2a6f6d2ec1aafe52 RMD160 (Net-Ident-1.20.tar.gz) = 5d6693739d62f8fc5a6677f5d775338e6c56ebdc Size (Net-Ident-1.20.tar.gz) = 24983 bytes -SHA1 (patch-aa) = d3135c66f80fde092aa04684698238dc93f014f0 +SHA1 (patch-aa) = d0eb4934d8130091cb9affcf35b27f72e74626af diff --git a/net/p5-Net-Ident/patches/patch-aa b/net/p5-Net-Ident/patches/patch-aa index e8b8bb4db48..41f5bbf0e99 100644 --- a/net/p5-Net-Ident/patches/patch-aa +++ b/net/p5-Net-Ident/patches/patch-aa @@ -1,13 +1,13 @@ -$NetBSD: patch-aa,v 1.1.1.1 2005/10/16 17:42:46 heinz Exp $ +$NetBSD: patch-aa,v 1.2 2010/02/13 22:18:25 heinz Exp $ ---- Ident.pm.orig Fri Aug 27 00:58:15 1999 +--- Ident.pm.orig 1999-08-26 22:58:15.000000000 +0000 +++ Ident.pm -@@ -25,6 +25,8 @@ use vars qw(@ISA @EXPORT_OK $DEBUG $VERS - 'debug' => \&_set_debug, - ); +@@ -505,7 +507,7 @@ sub geterror ($) { + } -+# avoid "called too early to check prototype" messages -+sub _export_hooks (); - # put the export hooks in the standard Exporter structures - _export_hooks(); - # for compatibility mode, uncomment the next line @@ s/^#\s*// @@ + # provide import magic +-sub _export_hooks () { ++sub _export_hooks { + my($tag, $hook); + while ( ($tag, $hook) = each %EXPORT_HOOKS ) { + my $hookname = "_export_hook_$tag"; # pseudo-function name |