Date: Tue, 17 Apr 2018 07:57:23 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467571 - head/cad/freecad/files Message-ID: <201804170757.w3H7vNRL073176@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Tue Apr 17 07:57:22 2018 New Revision: 467571 URL: https://svnweb.freebsd.org/changeset/ports/467571 Log: cad/freecad: unbreak with boost 1.67 CMakeFiles/SMESH.dir/src/SMESH/SMESH_Mesh.cpp.o: In function `boost::condition_variable::condition_variable()': src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:(.text._ZN5boost18condition_variableC2Ev[_ZN5boost18condition_variableC2Ev]+0x33): undefined reference to `pthread_condattr_init' src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:(.text._ZN5boost18condition_variableC2Ev[_ZN5boost18condition_variableC2Ev]+0x4a): undefined reference to `pthread_condattr_setclock' src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:(.text._ZN5boost18condition_variableC2Ev[_ZN5boost18condition_variableC2Ev]+0x5f): undefined reference to `pthread_condattr_destroy' PR: 227427 Reported by: antoine (via exp-run) Added: head/cad/freecad/files/patch-boost-1.67 (contents, props changed) Added: head/cad/freecad/files/patch-boost-1.67 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/freecad/files/patch-boost-1.67 Tue Apr 17 07:57:22 2018 (r467571) @@ -0,0 +1,16 @@ +https://github.com/FreeCAD/FreeCAD/pull/1409 + +--- CMakeLists.txt.orig 2017-09-08 12:52:12 UTC ++++ CMakeLists.txt +@@ -560,6 +560,11 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + find_package(Boost ${BOOST_MIN_VERSION} + COMPONENTS filesystem program_options regex signals system thread REQUIRED) + ++ if(UNIX AND NOT APPLE) ++ # Boost.Thread 1.67+ headers reference pthread_condattr_* ++ list(APPEND Boost_LIBRARIES pthread) ++ endif() ++ + IF(NOT Boost_FOUND) + MESSAGE(FATAL_ERROR "========================================\n" + "boost not found, install the components:\n"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804170757.w3H7vNRL073176>