aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2011-05-20 12:17:03 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2011-05-20 12:17:03 +0000
commit7dab3d2942dd42bc87fe29850fd626beccc1530e (patch)
tree64c950a68ba763f2d3a22d9cf53d13c02953a47b /mail/cyrus-imapd24
parent88527d3826806c33837a0120d0ca72f4e7fb0803 (diff)
downloadports-7dab3d2942dd42bc87fe29850fd626beccc1530e.tar.gz
ports-7dab3d2942dd42bc87fe29850fd626beccc1530e.zip
Make it buildable with perl 5.14.0. Perl 5.14.0 doesn't define
sv_undef, sv_yes nor sv_no, anymore.
Notes
Notes: svn path=/head/; revision=274368
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs b/mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs
new file mode 100644
index 000000000000..77ec9d76b885
--- /dev/null
+++ b/mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs
@@ -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
+ */