summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-20 12:37:37 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-20 12:37:37 +0000
commitd0240695b518727d4c503ab254e9d1a63846e56a (patch)
treedbbd11d0f90a91de6f447a2ea67ae0f133bf96c7
parent- Update to 5.5 (diff)
Fix Perl5 shims for recent compilers.
With hat: perl@ Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=384353
-rw-r--r--devel/swig13/Makefile1
-rw-r--r--devel/swig13/files/patch-Lib_perl5_noembed.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile
index 331c40ed4be8..cf3c77ce99f7 100644
--- a/devel/swig13/Makefile
+++ b/devel/swig13/Makefile
@@ -3,6 +3,7 @@
PORTNAME= swig
PORTVERSION= 1.3.40
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= 13
diff --git a/devel/swig13/files/patch-Lib_perl5_noembed.h b/devel/swig13/files/patch-Lib_perl5_noembed.h
new file mode 100644
index 000000000000..3b2e23f562d8
--- /dev/null
+++ b/devel/swig13/files/patch-Lib_perl5_noembed.h
@@ -0,0 +1,13 @@
+--- Lib/perl5/noembed.h.orig 2009-08-17 12:06:08 UTC
++++ Lib/perl5/noembed.h
+@@ -65,7 +65,9 @@
+ #undef eof
+ #endif
+ #ifdef bool
+- #undef bool
++ #ifndef __bool_true_false_are_defined
++ #undef bool
++ #endif
+ #endif
+ #ifdef close
+ #undef close