Make it buildable with perl 5.14.0. Perl 5.14.0 doesn't define
sv_undef, sv_yes nor sv_no, anymore.
This commit is contained in:
parent
88527d3826
commit
7dab3d2942
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274368
2 changed files with 42 additions and 0 deletions
21
mail/cyrus-imapd23/files/patch-perl::imap::IMAP.xs
Normal file
21
mail/cyrus-imapd23/files/patch-perl::imap::IMAP.xs
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: perl/imap/IMAP.xs
|
||||
diff -u perl/imap/IMAP.xs.orig perl/imap/IMAP.xs
|
||||
--- perl/imap/IMAP.xs.orig 2011-04-13 23:35:22.000000000 +0900
|
||||
+++ perl/imap/IMAP.xs 2011-05-20 15:27:09.000000000 +0900
|
||||
@@ -68,6 +68,16 @@
|
||||
#define aTHX_
|
||||
#endif
|
||||
|
||||
+#ifndef sv_no
|
||||
+#define sv_no PL_sv_no
|
||||
+#endif
|
||||
+#ifndef sv_undef
|
||||
+#define sv_undef PL_sv_undef
|
||||
+#endif
|
||||
+#ifndef sv_yes
|
||||
+#define sv_yes PL_sv_yes
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* This is the code from xsutil.c
|
||||
*/
|
21
mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs
Normal file
21
mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: perl/imap/IMAP.xs
|
||||
diff -u perl/imap/IMAP.xs.orig perl/imap/IMAP.xs
|
||||
--- perl/imap/IMAP.xs.orig 2011-04-13 23:35:22.000000000 +0900
|
||||
+++ perl/imap/IMAP.xs 2011-05-20 15:27:09.000000000 +0900
|
||||
@@ -68,6 +68,16 @@
|
||||
#define aTHX_
|
||||
#endif
|
||||
|
||||
+#ifndef sv_no
|
||||
+#define sv_no PL_sv_no
|
||||
+#endif
|
||||
+#ifndef sv_undef
|
||||
+#define sv_undef PL_sv_undef
|
||||
+#endif
|
||||
+#ifndef sv_yes
|
||||
+#define sv_yes PL_sv_yes
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* This is the code from xsutil.c
|
||||
*/
|
Loading…
Reference in a new issue