missing require

ok sthen@
This commit is contained in:
giovanni 2021-12-26 10:02:24 +00:00
parent 0b78874fc4
commit 443cbd712e
2 changed files with 15 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2020/07/03 21:45:27 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2021/12/26 10:02:24 giovanni Exp $
COMMENT = perl oop implementation of Sender Policy Framework
DISTNAME = Mail-SPF-v2.9.0
PKGNAME = p5-${DISTNAME:S/-v/-/}
REVISION = 1
REVISION = 2
CATEGORIES = mail
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-lib_Mail_SPF_Record_pm,v 1.1 2021/12/26 10:02:24 giovanni Exp $
Fix for cpan bug 130299 (https://rt.cpan.org/Public/Bug/Display.html?id=130299)
Index: lib/Mail/SPF/Record.pm
--- lib/Mail/SPF/Record.pm.orig
+++ lib/Mail/SPF/Record.pm
@@ -206,6 +206,7 @@ sub parse_version_tag {
sub parse_term {
my ($self) = @_;
+ require Mail::SPF::Mech;
if (
$self->{parse_text} =~ s/
^