pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/snappy



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Jan 10 09:38:19 UTC 2019

Modified Files:
        pkgsrc/devel/snappy: distinfo
        pkgsrc/devel/snappy/patches: patch-CMakeLists.txt

Log Message:
snappy: fix linking of unit test


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/snappy/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/snappy/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/snappy/distinfo
diff -u pkgsrc/devel/snappy/distinfo:1.9 pkgsrc/devel/snappy/distinfo:1.10
--- pkgsrc/devel/snappy/distinfo:1.9    Fri Aug 25 08:32:19 2017
+++ pkgsrc/devel/snappy/distinfo        Thu Jan 10 09:38:18 2019
@@ -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

Index: pkgsrc/devel/snappy/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/snappy/patches/patch-CMakeLists.txt:1.2 pkgsrc/devel/snappy/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/devel/snappy/patches/patch-CMakeLists.txt:1.2        Fri Aug 25 08:32:19 2017
+++ pkgsrc/devel/snappy/patches/patch-CMakeLists.txt    Thu Jan 10 09:38:18 2019
@@ -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 @@ Correcly link against googletest librari
    )
    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