pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/snappy snappy: fix linking of unit test
details: https://anonhg.NetBSD.org/pkgsrc/rev/85ab25d4361f
branches: trunk
changeset: 327854:85ab25d4361f
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Jan 10 09:38:18 2019 +0000
description:
snappy: fix linking of unit test
diffstat:
devel/snappy/distinfo | 4 ++--
devel/snappy/patches/patch-CMakeLists.txt | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r d32d54e6da10 -r 85ab25d4361f devel/snappy/distinfo
--- a/devel/snappy/distinfo Thu Jan 10 09:27:09 2019 +0000
+++ b/devel/snappy/distinfo Thu Jan 10 09:38:18 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2017/08/25 08:32:19 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/01/10 09:38:18 tnn Exp $
SHA1 (snappy-1.1.7.tar.gz) = 1ec676b842fc96fd8a95b03c12758935e7f257b0
RMD160 (snappy-1.1.7.tar.gz) = a512cb6b3954ef42a8a54c30787fda79d430bb20
SHA512 (snappy-1.1.7.tar.gz) = 32046f532606ba545a4e4825c0c66a19be449f2ca2ff760a6fa170a3603731479a7deadb683546e5f8b5033414c50f4a9a29f6d23b7a41f047e566e69eca7caf
Size (snappy-1.1.7.tar.gz) = 1090550 bytes
-SHA1 (patch-CMakeLists.txt) = f43089ec760081b07aa8e74a556528e43609bf07
+SHA1 (patch-CMakeLists.txt) = edd5f4e582128453c1b77cb34b03b68ba617a8bc
diff -r d32d54e6da10 -r 85ab25d4361f devel/snappy/patches/patch-CMakeLists.txt
--- a/devel/snappy/patches/patch-CMakeLists.txt Thu Jan 10 09:27:09 2019 +0000
+++ b/devel/snappy/patches/patch-CMakeLists.txt Thu Jan 10 09:38:18 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2017/08/25 08:32:19 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2019/01/10 09:38:18 tnn Exp $
Correcly link against googletest libraries.
+gtest-all.cc: needs -lpthread
--- CMakeLists.txt.orig 2017-08-24 23:54:23.000000000 +0000
+++ CMakeLists.txt
@@ -9,7 +10,7 @@
)
target_compile_definitions(snappy_unittest PRIVATE -DHAVE_CONFIG_H)
- target_link_libraries(snappy_unittest snappy ${GFLAGS_LIBRARIES})
-+ target_link_libraries(snappy_unittest snappy ${GTEST_BOTH_LIBRARIES})
++ target_link_libraries(snappy_unittest snappy ${GTEST_BOTH_LIBRARIES} -lpthread)
if(HAVE_LIBZ)
target_link_libraries(snappy_unittest z)
Home |
Main Index |
Thread Index |
Old Index