Date: Wed, 20 Dec 2023 07:43:45 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8491d336ad4b - main - devel/dmlc-core: Add patch for tests Message-ID: <202312200743.3BK7hjar056752@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8491d336ad4bde036ecbd3444e1845c5f6c4c5a8 commit 8491d336ad4bde036ecbd3444e1845c5f6c4c5a8 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-20 07:43:21 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-20 07:43:21 +0000 devel/dmlc-core: Add patch for tests --- devel/dmlc-core/files/patch-test_unittest_CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/dmlc-core/files/patch-test_unittest_CMakeLists.txt b/devel/dmlc-core/files/patch-test_unittest_CMakeLists.txt new file mode 100644 index 000000000000..9e9da7b666bf --- /dev/null +++ b/devel/dmlc-core/files/patch-test_unittest_CMakeLists.txt @@ -0,0 +1,13 @@ +- add -lexecinfo because LDFLAGS passed from outside somehow gets lost + +--- test/unittest/CMakeLists.txt.orig 2023-09-15 04:25:30 UTC ++++ test/unittest/CMakeLists.txt +@@ -9,6 +9,8 @@ if (UNIX) + SET(CMAKE_EXE_LINKER_FLAGS "-pthread") + endif(UNIX) + ++SET(CMAKE_EXE_LINKER_FLAGS "-lexecinfo") ++ + # Compiler definitions needed to use GNU/POSIX extensions + set(ENABLE_GNU_EXTENSION_FLAGS -D_XOPEN_SOURCE=700 + -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_DARWIN_C_SOURCE)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312200743.3BK7hjar056752>