Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2018 07:57:12 +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: r467570 - head/games/opendungeons/files
Message-ID:  <201804170757.w3H7vClu073053@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Apr 17 07:57:12 2018
New Revision: 467570
URL: https://svnweb.freebsd.org/changeset/ports/467570

Log:
  games/opendungeons: unbreak with boost 1.67
  
  /usr/bin/ld: undefined reference to symbol `pthread_condattr_init@@FBSD_1.0' (try adding -lthr)
  
  PR:		227427
  Reported by:	antoine (via exp-run)

Added:
  head/games/opendungeons/files/patch-boost-1.67   (contents, props changed)

Added: head/games/opendungeons/files/patch-boost-1.67
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/opendungeons/files/patch-boost-1.67	Tue Apr 17 07:57:12 2018	(r467570)
@@ -0,0 +1,13 @@
+https://github.com/OpenDungeons/OpenDungeons/pull/1287
+
+--- CMakeLists.txt.orig	2016-08-24 19:52:29 UTC
++++ CMakeLists.txt
+@@ -634,7 +634,7 @@ endif()
+ 
+ # MSVC automatically links boost
+ if(NOT MSVC)
+-    target_link_libraries(${PROJECT_BINARY_NAME} ${Boost_LIBRARIES})
++    target_link_libraries(${PROJECT_BINARY_NAME} ${Boost_LIBRARIES} Threads::Threads)
+ endif()
+ 
+ # Link sfml



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