From 1365eb3f3cc33fc734a8c7495ee71194a77783ac Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 17 Feb 2015 16:41:30 +0000 Subject: [PATCH] Fix build with Perl 5.20. PR: 194865 Submitted by: Mike Kuznetsov Sponsored by: Absolight --- security/p5-Net-SAML/files/patch-SAML__wrap.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 security/p5-Net-SAML/files/patch-SAML__wrap.c diff --git a/security/p5-Net-SAML/files/patch-SAML__wrap.c b/security/p5-Net-SAML/files/patch-SAML__wrap.c new file mode 100644 index 000000000000..7a00ec5f181b --- /dev/null +++ b/security/p5-Net-SAML/files/patch-SAML__wrap.c @@ -0,0 +1,13 @@ +--- SAML_wrap.c.orig 2014-11-06 12:22:29 UTC ++++ SAML_wrap.c +@@ -1442,7 +1442,9 @@ SWIG_Perl_SetModule(swig_module_info *mo + #undef eof + #endif + #ifdef bool +- #undef bool ++ #ifndef __bool_true_false_are_defined ++ #undef bool ++ #endif + #endif + #ifdef close + #undef close