git: 222d1809ed1b - main - mail/p5-Sendmail-Milter: fix build with Perl 5.36
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jun 2022 13:02:19 UTC
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,