pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/uriparser uriparser: fix build of test suite ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/358c483aae55
branches:  trunk
changeset: 413804:358c483aae55
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 22 13:51:23 2020 +0000

description:
uriparser: fix build of test suite on Linux

diffstat:

 textproc/uriparser/distinfo                     |   3 ++-
 textproc/uriparser/patches/patch-CMakeLists.txt |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 6e42a158dda8 -r 358c483aae55 textproc/uriparser/distinfo
--- a/textproc/uriparser/distinfo       Sun Mar 22 13:38:28 2020 +0000
+++ b/textproc/uriparser/distinfo       Sun Mar 22 13:51:23 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2019/05/20 07:44:59 adam Exp $
+$NetBSD: distinfo,v 1.12 2020/03/22 13:51:23 tnn Exp $
 
 SHA1 (uriparser-0.9.3.tar.xz) = b9b424a3e16d32fadfc603de3f5f4a9d5dbe7c76
 RMD160 (uriparser-0.9.3.tar.xz) = a8b4b08a42c1dca7404a2bc592f928437aa44157
 SHA512 (uriparser-0.9.3.tar.xz) = fd821c5b441c5bbf9477ec9e3abfb4b3bf3789e1d874905ac8ba23b4a301a586a5fa03328dc62bc2b261d3b99b5c7c44f84b8faf57377bc2275ce0b78b58887b
 Size (uriparser-0.9.3.tar.xz) = 166328 bytes
+SHA1 (patch-CMakeLists.txt) = af3b6b9531f82956ce7aa4294d505d035b8c76f0
 SHA1 (patch-include_uriparser_UriBase.h) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd
diff -r 6e42a158dda8 -r 358c483aae55 textproc/uriparser/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/patches/patch-CMakeLists.txt   Sun Mar 22 13:51:23 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/03/22 13:51:23 tnn Exp $
+
+libgtest.a needs to link with -pthread on Linux
+XXX it really /should/ be using pkg-config to figure this out!
+
+--- CMakeLists.txt.orig        2019-04-28 12:04:25.000000000 +0000
++++ CMakeLists.txt
+@@ -274,7 +274,7 @@ if(URIPARSER_BUILD_TESTS)
+     )
+ 
+     target_link_libraries(testrunner PUBLIC
+-        ${GTEST_BOTH_LIBRARIES}
++        -pthread ${GTEST_BOTH_LIBRARIES}
+     )
+ 
+     add_test(



Home | Main Index | Thread Index | Old Index