aboutsummaryrefslogtreecommitdiffstats
path: root/net/cyphesis
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2014-06-15 22:08:52 +0800
committeroliver <oliver@FreeBSD.org>2014-06-15 22:08:52 +0800
commitda95df43b376f58ea357f8f0be79a1816dffd45f (patch)
treecdf2a62da6e022a058542959f901716daaf249a0 /net/cyphesis
parent2389ff8883f8140451584813c36573a1a87d43f4 (diff)
downloadfreebsd-ports-gnome-da95df43b376f58ea357f8f0be79a1816dffd45f.tar.gz
freebsd-ports-gnome-da95df43b376f58ea357f8f0be79a1816dffd45f.tar.zst
freebsd-ports-gnome-da95df43b376f58ea357f8f0be79a1816dffd45f.zip
mark as BROKEN on FreeBSD 10 only
Diffstat (limited to 'net/cyphesis')
-rw-r--r--net/cyphesis/Makefile6
-rw-r--r--net/cyphesis/files/patch-physics-BBox.cpp11
2 files changed, 15 insertions, 2 deletions
diff --git a/net/cyphesis/Makefile b/net/cyphesis/Makefile
index a7acd0f77457..db17fea4e64d 100644
--- a/net/cyphesis/Makefile
+++ b/net/cyphesis/Makefile
@@ -22,8 +22,6 @@ LIB_DEPENDS= libAtlas-0.6.so:${PORTSDIR}/devel/atlas-devel \
CONFIGURE_ARGS= --with-python=${LOCALBASE}
-BROKEN= Does not compile with clang
-
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= gmake pathfix pkgconfig compiler:c++11-lib
@@ -40,6 +38,10 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
+BROKEN= Does not compile with clang
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's| install-confbackupDATA | |g' \
diff --git a/net/cyphesis/files/patch-physics-BBox.cpp b/net/cyphesis/files/patch-physics-BBox.cpp
new file mode 100644
index 000000000000..d7bb311100dd
--- /dev/null
+++ b/net/cyphesis/files/patch-physics-BBox.cpp
@@ -0,0 +1,11 @@
+--- physics/BBox.cpp.orig 2014-06-15 17:53:14.000000000 +0200
++++ physics/BBox.cpp 2014-06-15 17:51:40.000000000 +0200
+@@ -19,7 +19,7 @@
+ #include "BBox.h"
+
+ #include "common/const.h"
+-
++#include <algorithm>
+ #include <wfmath/axisbox.h>
+ #include <wfmath/point.h>
+