From owner-svn-ports-head@freebsd.org Tue Apr 17 07:57:23 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D2F5F8B20D; Tue, 17 Apr 2018 07:57:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49B2D7CD69; Tue, 17 Apr 2018 07:57:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 29D551804; Tue, 17 Apr 2018 07:57:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3H7vNnq073177; Tue, 17 Apr 2018 07:57:23 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3H7vNRL073176; Tue, 17 Apr 2018 07:57:23 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804170757.w3H7vNRL073176@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 17 Apr 2018 07:57:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467571 - head/cad/freecad/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/cad/freecad/files X-SVN-Commit-Revision: 467571 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 07:57:23 -0000 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"