summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2014-03-13 22:39:09 +0000
committerpettai <pettai@pkgsrc.org>2014-03-13 22:39:09 +0000
commit2cc4ded61814677d9e7fb16d0114a17745047fa7 (patch)
tree4675c2d210097ced39a7322825ca9082b2b0240f /mail
parentb010b0e41384ce9cfe15511a379c1e5c559f1ae2 (diff)
downloadpkgsrc-2cc4ded61814677d9e7fb16d0114a17745047fa7.tar.gz
fix perl (5.18) "called too early to check prototype" message
Diffstat (limited to 'mail')
-rw-r--r--mail/mimedefang/distinfo3
-rw-r--r--mail/mimedefang/patches/patch-mimedefang.pl.in12
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/mimedefang/distinfo b/mail/mimedefang/distinfo
index 2a300fd6b7f..ebeebee412a 100644
--- a/mail/mimedefang/distinfo
+++ b/mail/mimedefang/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.25 2013/06/15 17:17:31 pettai Exp $
+$NetBSD: distinfo,v 1.26 2014/03/13 22:39:09 pettai Exp $
SHA1 (mimedefang-2.74.tar.gz) = 7f5306bcc87e8959fc5bed09ec215755a7d357be
RMD160 (mimedefang-2.74.tar.gz) = 0e872d69e55fab37266d5aa1d671dd3aa2efdd16
Size (mimedefang-2.74.tar.gz) = 362500 bytes
SHA1 (patch-ac) = 8733dca9408f29f63d71f6a0f3af817ef6b9a148
SHA1 (patch-ad) = 1130dad09875d069ca246db8f8f567366e0af5be
+SHA1 (patch-mimedefang.pl.in) = 8b7466bd7322f24c54e3f307059a94aecefb25cb
diff --git a/mail/mimedefang/patches/patch-mimedefang.pl.in b/mail/mimedefang/patches/patch-mimedefang.pl.in
new file mode 100644
index 00000000000..ff3f8faaf4a
--- /dev/null
+++ b/mail/mimedefang/patches/patch-mimedefang.pl.in
@@ -0,0 +1,12 @@
+$NetBSD: patch-mimedefang.pl.in,v 1.1 2014/03/13 22:39:09 pettai Exp $
+
+--- mimedefang.pl.in.orig 2014-03-13 22:31:40.000000000 +0000
++++ mimedefang.pl.in
+@@ -764,6 +764,7 @@ sub synthesize_received_header () {
+ # Descends through input entity and rebuilds an output entity. The
+ # various parts of the input entity may be modified (or even deleted)
+ #***********************************************************************
++sub rebuild_entity ($$); # Forward declaration to avoid warning
+ sub rebuild_entity ($$) {
+ my($out, $in) = @_;
+ my @parts = $in->parts;