pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/mongo-c-driver
Module Name: pkgsrc
Committed By: tnn
Date: Mon Apr 25 09:33:40 UTC 2022
Modified Files:
pkgsrc/databases/mongo-c-driver: Makefile distinfo
Added Files:
pkgsrc/databases/mongo-c-driver/patches:
patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
Log Message:
mongo-c-driver: handle --version-script on SunOS
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/databases/mongo-c-driver/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/databases/mongo-c-driver/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/mongo-c-driver/Makefile
diff -u pkgsrc/databases/mongo-c-driver/Makefile:1.54 pkgsrc/databases/mongo-c-driver/Makefile:1.55
--- pkgsrc/databases/mongo-c-driver/Makefile:1.54 Mon Apr 18 19:09:43 2022
+++ pkgsrc/databases/mongo-c-driver/Makefile Mon Apr 25 09:33:39 2022
@@ -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 @@ PKGCONFIG_OVERRIDE+= src/libmongoc/src/l
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
Index: pkgsrc/databases/mongo-c-driver/distinfo
diff -u pkgsrc/databases/mongo-c-driver/distinfo:1.43 pkgsrc/databases/mongo-c-driver/distinfo:1.44
--- pkgsrc/databases/mongo-c-driver/distinfo:1.43 Tue Oct 26 10:09:24 2021
+++ pkgsrc/databases/mongo-c-driver/distinfo Mon Apr 25 09:33:39 2022
@@ -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
Added files:
Index: pkgsrc/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c
diff -u /dev/null pkgsrc/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c:1.1
--- /dev/null Mon Apr 25 09:33:40 2022
+++ pkgsrc/databases/mongo-c-driver/patches/patch-src_libmongoc_tests_test-mongoc-stream-tls-error.c Mon Apr 25 09:33:40 2022
@@ -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