summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-03-22 13:51:23 +0000
committertnn <tnn@pkgsrc.org>2020-03-22 13:51:23 +0000
commit08c7be51d6d69665eb4f02144cba180480ca177c (patch)
tree2a36b3ee05122fe95d509a9943e6d2fa760fd458 /textproc
parent6ad2381fcea869c765625c13e2b8de63ddb4fb5a (diff)
downloadpkgsrc-08c7be51d6d69665eb4f02144cba180480ca177c.tar.gz
uriparser: fix build of test suite on Linux
Diffstat (limited to 'textproc')
-rw-r--r--textproc/uriparser/distinfo3
-rw-r--r--textproc/uriparser/patches/patch-CMakeLists.txt16
2 files changed, 18 insertions, 1 deletions
diff --git a/textproc/uriparser/distinfo b/textproc/uriparser/distinfo
index ca0b5b24c33..0020632ebbb 100644
--- a/textproc/uriparser/distinfo
+++ b/textproc/uriparser/distinfo
@@ -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 --git a/textproc/uriparser/patches/patch-CMakeLists.txt b/textproc/uriparser/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..4c5082a42d6
--- /dev/null
+++ b/textproc/uriparser/patches/patch-CMakeLists.txt
@@ -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(