Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2022 13:02:19 GMT
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 222d1809ed1b - main - mail/p5-Sendmail-Milter: fix build with Perl 5.36
Message-ID:  <202206011302.251D2J1X029139@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=222d1809ed1befda94b4007c1f8a444798345dfd

commit 222d1809ed1befda94b4007c1f8a444798345dfd
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2022-06-01 12:50:24 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2022-06-01 12:54:53 +0000

    mail/p5-Sendmail-Milter: fix build with Perl 5.36
---
 mail/p5-Sendmail-Milter/files/patch-callbacks.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/mail/p5-Sendmail-Milter/files/patch-callbacks.c b/mail/p5-Sendmail-Milter/files/patch-callbacks.c
index aa5cc3c0d175..c184f71ded7e 100644
--- a/mail/p5-Sendmail-Milter/files/patch-callbacks.c
+++ b/mail/p5-Sendmail-Milter/files/patch-callbacks.c
@@ -1,5 +1,16 @@
 --- callbacks.c.orig	2000-07-19 06:20:36 UTC
 +++ callbacks.c
+@@ -31,8 +31,8 @@
+ /* Macro for pushing the SMFICTX * argument */
+ 
+ #define XPUSHs_Sendmail_Milter_Context	\
+-	(XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
+-		"Sendmail::Milter::Context", (IV) ctx))))
++	XPUSHs(sv_2mortal(sv_setref_iv(NEWSV(25, 0), \
++		"Sendmail::Milter::Context", (IV) ctx)))
+ 
+ /* Global callback variable names */
+ 
 @@ -489,6 +489,11 @@ callback_ssockaddr(pTHX_ SV *callback, SMFICTX *ctx, c
  	{
  		XPUSHs(sv_2mortal(newSVpvn((char *)arg_sa,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206011302.251D2J1X029139>