pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mongo-c-driver mongo-c-driver: handle --vers...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab62d167abb2
branches: trunk
changeset: 377897:ab62d167abb2
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Apr 25 09:33:39 2022 +0000
description:
mongo-c-driver: handle --version-script on SunOS
diffstat:
databases/mongo-c-driver/Makefile | 5 ++-
databases/mongo-c-driver/distinfo | 3 +-
databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c | 15 ++++++++++
3 files changed, 20 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r c5e8c27b95fb -r ab62d167abb2 databases/mongo-c-driver/Makefile
--- a/databases/mongo-c-driver/Makefile Mon Apr 25 09:31:13 2022 +0000
+++ b/databases/mongo-c-driver/Makefile Mon Apr 25 09:33:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2022/04/18 19:09:43 adam Exp $
+# $NetBSD: Makefile,v 1.55 2022/04/25 09:33:39 tnn Exp $
DISTNAME= mongo-c-driver-1.17.7
PKGREVISION= 2
@@ -32,7 +32,8 @@
INSTALLATION_DIRS+= ${PKGMANDIR}/man3
-LDFLAGS.SunOS+= -lsocket
+LDFLAGS.SunOS+= -lsocket
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=${WRKSRC}/src/libmongoc/../../build/cmake/libmongoc-hidden-symbols.map
PLIST_VARS+= unix
diff -r c5e8c27b95fb -r ab62d167abb2 databases/mongo-c-driver/distinfo
--- a/databases/mongo-c-driver/distinfo Mon Apr 25 09:31:13 2022 +0000
+++ b/databases/mongo-c-driver/distinfo Mon Apr 25 09:33:39 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.43 2021/10/26 10:09:24 nia Exp $
+$NetBSD: distinfo,v 1.44 2022/04/25 09:33:39 tnn Exp $
BLAKE2s (mongo-c-driver-1.17.7.tar.gz) = 078a64e799b65a9ac62b4a4a2d69a36f523c05136a6e867741fb918328a235d7
SHA512 (mongo-c-driver-1.17.7.tar.gz) = 766f1182165540e770f5d3661f7462cedeee3b8a43a560dc719f045c21da62d0d24586686bcdc387a921fc890af806bebf23e9c9f196fad4664053c0bfe3f0c9
Size (mongo-c-driver-1.17.7.tar.gz) = 7092885 bytes
+SHA1 (patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c) = 856e4b44414e1ff6db12440c41d1aae9bf8046aa
diff -r c5e8c27b95fb -r ab62d167abb2 databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c Mon Apr 25 09:33:39 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c,v 1.1 2022/04/25 09:33:40 tnn Exp $
+
+match ifdef around test_mongoc_tls_hangup implementation
+
+--- src/libmongoc/tests/test-mongoc-stream-tls-error.c.orig 2021-07-06 20:11:18.000000000 +0000
++++ src/libmongoc/tests/test-mongoc-stream-tls-error.c
+@@ -389,7 +389,7 @@ test_stream_tls_error_install (TestSuite
+ {
+ #if !defined(MONGOC_ENABLE_SSL_SECURE_CHANNEL) && \
+ !defined(MONGOC_ENABLE_SSL_LIBRESSL)
+-#if !defined(__APPLE__)
++#if !defined(__sun) && !defined(__APPLE__)
+ TestSuite_Add (suite, "/TLS/hangup", test_mongoc_tls_hangup);
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index