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 Feb  1 20:01:16 UTC 2020

Added Files:
        pkgsrc/databases/mongodb/patches:
            patch-src_third__party_wiredtiger_src_os__posix_os__fs.c
Removed Files:
        pkgsrc/databases/mongodb/patches:
            patch-src_third__party_asio-master_asio_include_asio_detail_config.hpp
            patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h
            patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h

Log Message:
mongodb: ...and some patches


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/databases/mongodb/patches/patch-src_third__party_asio-master_asio_include_asio_detail_config.hpp
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h \
    pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_src_os__posix_os__fs.c

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_third__party_wiredtiger_src_os__posix_os__fs.c
diff -u /dev/null pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_src_os__posix_os__fs.c:1.1
--- /dev/null   Sat Feb  1 20:01:16 2020
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_wiredtiger_src_os__posix_os__fs.c   Sat Feb  1 20:01:16 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_third__party_wiredtiger_src_os__posix_os__fs.c,v 1.1 2020/02/01 20:01:16 adam Exp $
+
+On NetBSD, fdatasync() fails with "Bad file descriptor".
+
+--- src/third_party/wiredtiger/src/os_posix/os_fs.c.orig       2020-01-29 21:12:06.697276371 +0000
++++ src/third_party/wiredtiger/src/os_posix/os_fs.c
+@@ -91,7 +91,7 @@ __posix_sync(WT_SESSION_IMPL *session, i
+         WT_PANIC_RET(session, ret, "%s: %s: fcntl(F_FULLFSYNC)", name, func);
+     }
+ #endif
+-#if defined(HAVE_FDATASYNC)
++#if defined(HAVE_FDATASYNC) && !defined(__NetBSD__)
+     /* See comment in __posix_sync(): sync cannot be retried or fail. */
+     WT_SYSCALL(fdatasync(fd), ret);
+     if (ret == 0)



Home | Main Index | Thread Index | Old Index