aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Net-SAML
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-02-17 16:41:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-02-17 16:41:30 +0000
commit1365eb3f3cc33fc734a8c7495ee71194a77783ac (patch)
tree1d3c388e0635284503863115f6c42db9a9f01b6b /security/p5-Net-SAML
parent95783934937264af1953f69ff12c402d00cf0029 (diff)
downloadports-1365eb3f3cc33fc734a8c7495ee71194a77783ac.tar.gz
ports-1365eb3f3cc33fc734a8c7495ee71194a77783ac.zip
Fix build with Perl 5.20.
PR: 194865 Submitted by: Mike Kuznetsov Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=379180
Diffstat (limited to 'security/p5-Net-SAML')
-rw-r--r--security/p5-Net-SAML/files/patch-SAML__wrap.c13
1 files changed, 13 insertions, 0 deletions
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