aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-09 02:52:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-09 02:52:14 +0800
commitf7264cd493ea5fad63af288431466e28c9040847 (patch)
tree8dae667f413b286cd2953c063494c349c96c39dd /lang
parent1ed1f82f597cc4534a291a660638e4ce566bbdc9 (diff)
downloadfreebsd-ports-gnome-f7264cd493ea5fad63af288431466e28c9040847.tar.gz
freebsd-ports-gnome-f7264cd493ea5fad63af288431466e28c9040847.tar.zst
freebsd-ports-gnome-f7264cd493ea5fad63af288431466e28c9040847.zip
- Fix build with boost 1.60
- Mark sdcc-devel MAKE_JOBS_UNSAFE as it fails with parallel build PR: 199601 Approved by: portmgr blanket
Diffstat (limited to 'lang')
-rw-r--r--lang/sdcc-devel/Makefile1
-rw-r--r--lang/sdcc-devel/files/patch-src_SDCClospre.hpp15
-rw-r--r--lang/sdcc-devel/files/patch-src_SDCCnaddr.hpp15
-rw-r--r--lang/sdcc-devel/files/patch-src_SDCCralloc.hpp15
-rw-r--r--lang/sdcc/files/patch-src_SDCClospre.hpp15
-rw-r--r--lang/sdcc/files/patch-src_SDCCnaddr.hpp15
-rw-r--r--lang/sdcc/files/patch-src_SDCCralloc.hpp15
7 files changed, 91 insertions, 0 deletions
diff --git a/lang/sdcc-devel/Makefile b/lang/sdcc-devel/Makefile
index dc4a6227b0ad..5a65024db29c 100644
--- a/lang/sdcc-devel/Makefile
+++ b/lang/sdcc-devel/Makefile
@@ -39,6 +39,7 @@ NOPRECIOUSMAKEVARS= yes
PORTDATA= *
PORTDOCS= *
WRKSRC= ${WRKDIR}/sdcc
+MAKE_JOBS_UNSAFE=yes
OPTIONS_SUB= yes
DEVLIB_CONFIGURE_OFF= --disable-device-lib
diff --git a/lang/sdcc-devel/files/patch-src_SDCClospre.hpp b/lang/sdcc-devel/files/patch-src_SDCClospre.hpp
new file mode 100644
index 000000000000..34ac061d2d1c
--- /dev/null
+++ b/lang/sdcc-devel/files/patch-src_SDCClospre.hpp
@@ -0,0 +1,15 @@
+--- src/SDCClospre.hpp.orig 2014-01-03 17:18:45 UTC
++++ src/SDCClospre.hpp
+@@ -19,6 +19,12 @@
+ //
+ // Lifetime-optimal speculative partial redundancy elimination.
+
++// Workaround for boost bug #11880
++#include <boost/version.hpp>
++#if BOOST_VERSION == 106000
++ #include <boost/type_traits/ice.hpp>
++#endif
++
+ #include <boost/graph/graphviz.hpp>
+ #include <boost/tuple/tuple.hpp>
+ #include <boost/tuple/tuple_comparison.hpp>
diff --git a/lang/sdcc-devel/files/patch-src_SDCCnaddr.hpp b/lang/sdcc-devel/files/patch-src_SDCCnaddr.hpp
new file mode 100644
index 000000000000..28b9fba53289
--- /dev/null
+++ b/lang/sdcc-devel/files/patch-src_SDCCnaddr.hpp
@@ -0,0 +1,15 @@
+--- src/SDCCnaddr.hpp.orig 2015-04-01 13:50:35 UTC
++++ src/SDCCnaddr.hpp
+@@ -37,6 +37,12 @@
+ #include <sstream>
+ #include <fstream>
+
++// Workaround for boost bug #11880
++#include <boost/version.hpp>
++#if BOOST_VERSION == 106000
++ #include <boost/type_traits/ice.hpp>
++#endif
++
+ #include <boost/graph/graphviz.hpp>
+
+ #include "SDCCtree_dec.hpp"
diff --git a/lang/sdcc-devel/files/patch-src_SDCCralloc.hpp b/lang/sdcc-devel/files/patch-src_SDCCralloc.hpp
new file mode 100644
index 000000000000..5b09fe158be2
--- /dev/null
+++ b/lang/sdcc-devel/files/patch-src_SDCCralloc.hpp
@@ -0,0 +1,15 @@
+--- src/SDCCralloc.hpp.orig 2015-02-25 10:25:50 UTC
++++ src/SDCCralloc.hpp
+@@ -51,6 +51,12 @@
+ #include <sstream>
+ #include <fstream>
+
++// Workaround for boost bug #11880
++#include <boost/version.hpp>
++#if BOOST_VERSION == 106000
++ #include <boost/type_traits/ice.hpp>
++#endif
++
+ #include <boost/graph/graphviz.hpp>
+ #include <boost/graph/adjacency_matrix.hpp>
+ #include <boost/graph/connected_components.hpp>
diff --git a/lang/sdcc/files/patch-src_SDCClospre.hpp b/lang/sdcc/files/patch-src_SDCClospre.hpp
new file mode 100644
index 000000000000..34ac061d2d1c
--- /dev/null
+++ b/lang/sdcc/files/patch-src_SDCClospre.hpp
@@ -0,0 +1,15 @@
+--- src/SDCClospre.hpp.orig 2014-01-03 17:18:45 UTC
++++ src/SDCClospre.hpp
+@@ -19,6 +19,12 @@
+ //
+ // Lifetime-optimal speculative partial redundancy elimination.
+
++// Workaround for boost bug #11880
++#include <boost/version.hpp>
++#if BOOST_VERSION == 106000
++ #include <boost/type_traits/ice.hpp>
++#endif
++
+ #include <boost/graph/graphviz.hpp>
+ #include <boost/tuple/tuple.hpp>
+ #include <boost/tuple/tuple_comparison.hpp>
diff --git a/lang/sdcc/files/patch-src_SDCCnaddr.hpp b/lang/sdcc/files/patch-src_SDCCnaddr.hpp
new file mode 100644
index 000000000000..28b9fba53289
--- /dev/null
+++ b/lang/sdcc/files/patch-src_SDCCnaddr.hpp
@@ -0,0 +1,15 @@
+--- src/SDCCnaddr.hpp.orig 2015-04-01 13:50:35 UTC
++++ src/SDCCnaddr.hpp
+@@ -37,6 +37,12 @@
+ #include <sstream>
+ #include <fstream>
+
++// Workaround for boost bug #11880
++#include <boost/version.hpp>
++#if BOOST_VERSION == 106000
++ #include <boost/type_traits/ice.hpp>
++#endif
++
+ #include <boost/graph/graphviz.hpp>
+
+ #include "SDCCtree_dec.hpp"
diff --git a/lang/sdcc/files/patch-src_SDCCralloc.hpp b/lang/sdcc/files/patch-src_SDCCralloc.hpp
new file mode 100644
index 000000000000..5b09fe158be2
--- /dev/null
+++ b/lang/sdcc/files/patch-src_SDCCralloc.hpp
@@ -0,0 +1,15 @@
+--- src/SDCCralloc.hpp.orig 2015-02-25 10:25:50 UTC
++++ src/SDCCralloc.hpp
+@@ -51,6 +51,12 @@
+ #include <sstream>
+ #include <fstream>
+
++// Workaround for boost bug #11880
++#include <boost/version.hpp>
++#if BOOST_VERSION == 106000
++ #include <boost/type_traits/ice.hpp>
++#endif
++
+ #include <boost/graph/graphviz.hpp>
+ #include <boost/graph/adjacency_matrix.hpp>
+ #include <boost/graph/connected_components.hpp>