diff options
author | ume <ume@FreeBSD.org> | 2011-05-20 20:17:03 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2011-05-20 20:17:03 +0800 |
commit | 38d6f1065dffd400add5c75d458f2787188ea0fc (patch) | |
tree | f878e2fb3e90497c5e8d8f52c766f09ea0d38fe9 | |
parent | 8fdf3d701641166c3b08b00f91a89fd3e1e8200c (diff) | |
download | freebsd-ports-gnome-38d6f1065dffd400add5c75d458f2787188ea0fc.tar.gz freebsd-ports-gnome-38d6f1065dffd400add5c75d458f2787188ea0fc.tar.zst freebsd-ports-gnome-38d6f1065dffd400add5c75d458f2787188ea0fc.zip |
Make it buildable with perl 5.14.0. Perl 5.14.0 doesn't define
sv_undef, sv_yes nor sv_no, anymore.
-rw-r--r-- | mail/cyrus-imapd23/files/patch-perl::imap::IMAP.xs | 21 | ||||
-rw-r--r-- | mail/cyrus-imapd24/files/patch-perl::imap::IMAP.xs | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/mail/cyrus-imapd23/files/patch-perl::imap::IMAP.xs b/mail/cyrus-imapd23/files/patch-perl::imap::IMAP.xs new file mode 100644 index 000000000000..77ec9d76b885 --- /dev/null +++ b/mail/cyrus-imapd23/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 + */ 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 + */ |