Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -1,14 +1,14 @@
$NetBSD: patch-src_mongo_platform_random.cpp,v 1.1 2015/05/02 08:10:33 ryoon Exp $
$NetBSD: patch-src_mongo_platform_random.cpp,v 1.2 2015/08/26 05:03:00 fhajny Exp $
Add NetBSD support.
--- src/mongo/platform/random.cpp.orig 2015-04-08 20:28:08.000000000 +0000
--- src/mongo/platform/random.cpp.orig 2015-08-24 00:39:52.000000000 +0000
+++ src/mongo/platform/random.cpp
@@ -117,7 +117,7 @@ namespace mongo {
return new WinSecureRandom();
}
@@ -116,7 +116,7 @@ SecureRandom* SecureRandom::create() {
return new WinSecureRandom();
}
-#elif defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__freebsd__)
+#elif defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__freebsd__) || defined(__netbsd__)
class InputStreamSecureRandom : public SecureRandom {
public:
class InputStreamSecureRandom : public SecureRandom {
public: