pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/threadingbuildingblocks threadingbuildingbloc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e60b07c187b7
branches:  trunk
changeset: 381197:e60b07c187b7
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 01 22:38:25 2022 +0000

description:
threadingbuildingblocks: fix build for GCC

diffstat:

 parallel/threadingbuildingblocks/distinfo                                |   3 +-
 parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r fdb40c6c4de4 -r e60b07c187b7 parallel/threadingbuildingblocks/distinfo
--- a/parallel/threadingbuildingblocks/distinfo Fri Jul 01 20:36:12 2022 +0000
+++ b/parallel/threadingbuildingblocks/distinfo Fri Jul 01 22:38:25 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2022/07/01 16:21:08 adam Exp $
+$NetBSD: distinfo,v 1.13 2022/07/01 22:38:25 adam Exp $
 
 BLAKE2s (oneTBB-2021.5.0.tar.gz) = 570452be4c16d646d781f41449c52caa4d9e580ba7bbd777085e88b955979e26
 SHA512 (oneTBB-2021.5.0.tar.gz) = 0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46
 Size (oneTBB-2021.5.0.tar.gz) = 2463218 bytes
+SHA1 (patch-cmake_compilers_GNU.cmake) = 4f45c1e54efc484819f5b8d78c9d85257d51975d
 SHA1 (patch-test_tbb_test__composite__node.cpp) = 1c48644e8cbee6622e2cf4a91901db217cee2ff3
diff -r fdb40c6c4de4 -r e60b07c187b7 parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake  Fri Jul 01 22:38:25 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmake_compilers_GNU.cmake,v 1.4 2022/07/01 22:38:25 adam Exp $
+
+Automatically choose dl library.
+
+--- cmake/compilers/GNU.cmake.orig     2021-12-17 13:40:54.000000000 +0000
++++ cmake/compilers/GNU.cmake
+@@ -41,7 +41,7 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86
+ endif()
+ 
+ if (NOT MINGW)
+-    set(TBB_COMMON_LINK_LIBS dl)
++    set(TBB_COMMON_LINK_LIBS ${CMAKE_DL_LIBS})
+ endif()
+ 
+ # Ignore -Werror set through add_compile_options() or added to CMAKE_CXX_FLAGS if TBB_STRICT is disabled.



Home | Main Index | Thread Index | Old Index