1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

- Fix build with boost 1.60

- Mark sdcc-devel MAKE_JOBS_UNSAFE as it fails with parallel build

PR:		199601
Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-02-08 18:52:14 +00:00
parent c7e91eca28
commit f7b0093f63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408498
7 changed files with 91 additions and 0 deletions

View File

@ -39,6 +39,7 @@ NOPRECIOUSMAKEVARS= yes
PORTDATA= *
PORTDOCS= *
WRKSRC= ${WRKDIR}/sdcc
MAKE_JOBS_UNSAFE=yes
OPTIONS_SUB= yes
DEVLIB_CONFIGURE_OFF= --disable-device-lib

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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"

View File

@ -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>