pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/mongodb/patches
Module Name: pkgsrc
Committed By: adam
Date: Sat Jul 29 11:46:45 UTC 2023
Added Files:
pkgsrc/databases/mongodb/patches:
patch-src_mongo_util_dns__query__posix-impl.h
Removed Files:
pkgsrc/databases/mongodb/patches:
patch-src_third__party_mozjs-60_platform_x86__64_netbsd_build_js-confdefs.h
Log Message:
mongodb: fix patches
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/mongodb/patches/patch-src_mongo_util_dns__query__posix-impl.h
cvs rdiff -u -r1.1 -r0 \
pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-60_platform_x86__64_netbsd_build_js-confdefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/databases/mongodb/patches/patch-src_mongo_util_dns__query__posix-impl.h
diff -u /dev/null pkgsrc/databases/mongodb/patches/patch-src_mongo_util_dns__query__posix-impl.h:1.1
--- /dev/null Sat Jul 29 11:46:45 2023
+++ pkgsrc/databases/mongodb/patches/patch-src_mongo_util_dns__query__posix-impl.h Sat Jul 29 11:46:45 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_mongo_util_dns__query__posix-impl.h,v 1.1 2023/07/29 11:46:45 adam Exp $
+
+Fix for "Durations must be constructed from values of integral type that are
+representable as 64-bit signed integers" from src/mongo/util/duration.h.
+
+--- src/mongo/util/dns_query_posix-impl.h.orig 2023-07-28 07:25:45.391290555 +0000
++++ src/mongo/util/dns_query_posix-impl.h
+@@ -196,7 +196,7 @@ public:
+ }
+
+ Seconds getTtl() const {
+- return Seconds(ns_rr_ttl(this->_resource_record));
++ return Seconds((int64_t)ns_rr_ttl(this->_resource_record));
+ }
+
+ private:
Home |
Main Index |
Thread Index |
Old Index