Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2020 23:59:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r543638 - in head/cad/meshlab: . files
Message-ID:  <202007282359.06SNxhOe020130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Jul 28 23:59:43 2020
New Revision: 543638
URL: https://svnweb.freebsd.org/changeset/ports/543638

Log:
  cad/meshlab: fix build on GCC architectures
  
  Use C++11 compiler.
  Include climit in AtomicCounter.h because GCC doesn't include it by default.

Added:
  head/cad/meshlab/files/patch-src_external_structuresynth-1.5_ssynth_SyntopiaCore_GLEngine_Raytracer_AtomicCounter.h   (contents, props changed)
Modified:
  head/cad/meshlab/Makefile

Modified: head/cad/meshlab/Makefile
==============================================================================
--- head/cad/meshlab/Makefile	Tue Jul 28 23:51:00 2020	(r543637)
+++ head/cad/meshlab/Makefile	Tue Jul 28 23:59:43 2020	(r543638)
@@ -14,7 +14,7 @@ LICENSE=	GPLv2
 BUILD_DEPENDS=	${LOCALBASE}/include/vcglib/img/img.h:devel/vcglib
 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_QT=		buildtools_build core gui network \
 		opengl script xml xmlpatterns widgets

Added: head/cad/meshlab/files/patch-src_external_structuresynth-1.5_ssynth_SyntopiaCore_GLEngine_Raytracer_AtomicCounter.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/meshlab/files/patch-src_external_structuresynth-1.5_ssynth_SyntopiaCore_GLEngine_Raytracer_AtomicCounter.h	Tue Jul 28 23:59:43 2020	(r543638)
@@ -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 {	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007282359.06SNxhOe020130>