cad/camotics: unbreak after the upgrade of lang/v8
After the latest upgrade of v8, C! and CAMotics must be built with c++17
standard.
Obtained from: https://github.com/CauldronDevelopmentLLC/CAMotics/issues/369
Fixes: 0db7465f14
Reported by: pkg-fallout
This commit is contained in:
parent
63e124814c
commit
5a133e1960
2 changed files with 13 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= CAMotics
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.2.2-rc1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= cad
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
|
@ -52,7 +53,7 @@ PORTEXAMPLES= *
|
|||
|
||||
MAKE_ARGS+= cc="${CC}" \
|
||||
cxx="${CXX}" \
|
||||
cxxstd="c++14" \
|
||||
cxxstd="c++17" \
|
||||
ccflags="${CCFLAGS}" \
|
||||
cxxflags="${CXXFLAGS} ${QT5_INC}" \
|
||||
linkflags="${LDFLAGS} ${QT5_LIBS}" \
|
||||
|
|
11
cad/camotics/files/patch-src_camotics_contour_TriangleMesh.h
Normal file
11
cad/camotics/files/patch-src_camotics_contour_TriangleMesh.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/camotics/contour/TriangleMesh.h.orig 2021-07-27 23:51:08 UTC
|
||||
+++ src/camotics/contour/TriangleMesh.h
|
||||
@@ -52,7 +52,7 @@ namespace CAMotics {
|
||||
|
||||
|
||||
struct VertexSort {
|
||||
- bool operator() (const Vertex *a, const Vertex *b) {return *a < *b;}
|
||||
+ bool operator() (const Vertex *a, const Vertex *b) const {return *a < *b;}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in a new issue