#31562: CGAL version bump 3.8 -> 3.9 --------------------------------+------------------------------------------- Reporter: mmoll@… | Owner: vince@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: cgal --------------------------------+------------------------------------------- Comment(by raphael@…): I would propose the attached patch as the demos variant does not compile with llvm-gcc-4.2 and clang. The patch also fixes #29382. I also attached an updated patchfile for the {{{CMakeLists.txt}}} files for the demos. But I still have one problem with CGAL 3.9. When compiling CGAL 3.9 the old CGAL 3.8 headers are picked up if CGAL 3.8 is still active. Here is the corresponding part of the build log: {{{ :info:build [ 33%] Building CXX object src/Core/CMakeFiles/CGAL_Core.dir/all_files.cpp.o :info:build cd /opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/src/Core && /usr/bin/g++-4.2 -DCGAL_Core_EXPORTS -pipe -O2 -arch ppc -frounding- math -fno-strict-aliasing -O3 -DNDEBUG -arch ppc -isysroot / -mmacosx- version-min=10.5 -fPIC -I/opt/local/include -I/opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/include -I/opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/src/Core -o CMakeFiles/CGAL_Core.dir/all_files.cpp.o -c /opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/src/Core/all_files.cpp :info:build In file included from /opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/src/Core/all_files.cpp:1: :info:build /opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/src/CGALCore/Expr.cpp: In member function ‘void CORE::Expr::doubleInterval(double&, double&) const’: :info:build /opt/local/var/macports/build/cgal/cgal/work/CGAL-3.9/src/CGALCore/Expr.cpp:78: error: ‘CGAL_CORE_finite’ was not declared in this scope }}} So, I had to deactivate the old CGAL version before installing the new one. -- Ticket URL: <https://trac.macports.org/ticket/31562#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS