cad/meshlab: fix build on GCC architectures

Use C++11 compiler.
Include climit in AtomicCounter.h because GCC doesn't include it by default.
This commit is contained in:
Piotr Kubaj 2020-07-28 23:59:43 +00:00
parent f180a39684
commit 8d33a31606
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543638
2 changed files with 11 additions and 1 deletions

View File

@ -14,7 +14,7 @@ LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/include/vcglib/img/img.h:devel/vcglib BUILD_DEPENDS= ${LOCALBASE}/include/vcglib/img/img.h:devel/vcglib
LIB_DEPENDS= libmpirxx.so:math/mpir LIB_DEPENDS= libmpirxx.so:math/mpir
USES= dos2unix gl qmake:outsource qt:5 USES= compiler:c++11-lang dos2unix gl qmake:outsource qt:5
USE_GL= gl glu glew USE_GL= gl glu glew
USE_QT= buildtools_build core gui network \ USE_QT= buildtools_build core gui network \
opengl script xml xmlpatterns widgets opengl script xml xmlpatterns widgets

View File

@ -0,0 +1,10 @@
--- src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/AtomicCounter.h.orig 2020-07-27 23:02:57 UTC
+++ src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/AtomicCounter.h
@@ -2,6 +2,7 @@
#include <QMutex>
#include <QWaitCondition>
+#include <climits>
namespace SyntopiaCore {
namespace GLEngine {