opnsense-ports/sysutils/usbtop/files/patch-boost-1.67
Franco Fichtner ccbdcbd39d */*: sync with upstream
Taken from: HardenedBSD
2018-04-17 19:38:48 +02:00

14 lines
434 B
Text

https://github.com/aguinet/usbtop/pull/15
--- src/CMakeLists.txt.orig 2017-12-17 21:14:26 UTC
+++ src/CMakeLists.txt
@@ -21,5 +21,9 @@ usb_stats.cpp
add_executable(usbtop ${SRC_FILES})
target_link_libraries(usbtop ${PCAP_LIBRARIES} ${Boost_LIBRARIES})
+if(UNIX AND NOT APPLE)
+ # Boost.Thread 1.67+ headers reference pthread_condattr_*
+ target_link_libraries(usbtop pthread)
+endif()
install(TARGETS usbtop DESTINATION sbin)