diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2022-06-01 12:50:24 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2022-06-01 12:54:53 +0000 |
commit | 222d1809ed1befda94b4007c1f8a444798345dfd (patch) | |
tree | ed7f22e7457bbc8364cc1bd1750fa6db463a0653 | |
parent | 7c03bbb23d0fc0987e3d004c68ddaf7bee39fa36 (diff) | |
download | ports-222d1809ed1befda94b4007c1f8a444798345dfd.tar.gz ports-222d1809ed1befda94b4007c1f8a444798345dfd.zip |
mail/p5-Sendmail-Milter: fix build with Perl 5.36
-rw-r--r-- | mail/p5-Sendmail-Milter/files/patch-callbacks.c | 11 |
1 files changed, 11 insertions, 0 deletions
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, |