pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/mongodb
Module Name: pkgsrc
Committed By: ryoon
Date: Mon May 29 14:44:47 UTC 2017
Modified Files:
pkgsrc/databases/mongodb: Makefile PLIST distinfo
pkgsrc/databases/mongodb/patches: patch-SConstruct
patch-debian_mongod.conf patch-src_mongo_db_repl_isself.c
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
Added Files:
pkgsrc/databases/mongodb/patches:
patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c
patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h
patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h
Log Message:
Update to 3.4.4
* Disable PaX MPROTECT for bin/mongo
Changelog:
3.4.4 – Apr 21, 2017
Issues fixed:
SERVER-18794: Add an aggregation operator $objectToArray to convert an object to an array of key, value pairs.
SERVER-23310: Add an aggregation operator $arrayToObject to convert an array of pairs to an object.
SERVER-22611: ChunkManager refresh can occasionally cause a full reload.
3.4.4 Changelog
All JIRA issues closed in 3.4.4
3.4.3 – Mar 28, 2017
Issues fixed:
SERVER-27863: Reschedule firing of early alarms in NetworkInterfaceASIO to avoid mongos crash.
SERVER-28017: $ne should respect collection’s default collation.
SERVER-27700: Improve WiredTiger performance on secondary when cache is full.
3.4.3 Changelog
All JIRA issues closed in 3.4.3
3.4.2 – Feb 1, 2017
Issues fixed:
SERVER-27125: Arbiters in pv1 should vote no in elections if they can see a healthy primary of equal or greater priority to the candidate.
SERVER-27584 Add support for filter to listDatabases
WT-2670 Inefficient I/O when read full DB (poor readahead)
3.4.2 Changelog
All JIRA issues closed in 3.4.2
3.4.1 – Dec 20, 2016
Issues fixed:
SERVER-27124: Disallow readConcern: majority reads on replica set protocolVersion 0 (pv0).
SERVER-27201: $graphLookup triggers null pointer dereference.
SERVER-27207: Find operation with a sort on a view via mongos may incorrectly return empty result set.
SERVER-27213: Two $match pipeline stages can combine incorrectly to produce incorrect results.
3.4.1 Changelog
All JIRA issues closed in 3.4.1
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/databases/mongodb/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/mongodb/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/databases/mongodb/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/mongodb/patches/patch-SConstruct
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/databases/mongodb/patches/patch-debian_mongod.conf \
pkgsrc/databases/mongodb/patches/patch-src_mongo_db_repl_isself.c
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c \
pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h \
pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h
cvs rdiff -u -r1.1 -r1.2 \
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
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/mongodb/Makefile
diff -u pkgsrc/databases/mongodb/Makefile:1.21 pkgsrc/databases/mongodb/Makefile:1.22
--- pkgsrc/databases/mongodb/Makefile:1.21 Sun Apr 30 01:21:30 2017
+++ pkgsrc/databases/mongodb/Makefile Mon May 29 14:44:46 2017
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2017/04/30 01:21:30 ryoon Exp $
+# $NetBSD: Makefile,v 1.22 2017/05/29 14:44:46 ryoon Exp $
-DISTNAME= mongodb-src-r3.2.10
+DISTNAME= mongodb-src-r3.4.4
PKGNAME= ${DISTNAME:S/src-r//:S/-rc/rc/}
-PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://fastdl.mongodb.org/src/
@@ -11,6 +10,8 @@ HOMEPAGE= http://mongodb.org/
COMMENT= NoSQL distributed document-oriented database
LICENSE= gnu-agpl-v3 # Client and tools licensed under apache-2.0
+EXTRACT_USING= bsdtar
+
NO_CONFIGURE= yes
USE_LANGUAGES= c c++
@@ -31,7 +32,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 #
.include "../../mk/bsd.prefs.mk"
-GCC_REQD+= 4.8.2
+GCC_REQD+= 5.3.0
CPPFLAGS+= -fno-jump-tables
@@ -81,10 +82,14 @@ SUBST_SED.path= -e 's|/data/db|${MONGOD
SUBST_SED.path+= -e 's|/etc|${PKG_SYSCONFDIR}|'
SUBST_VARS.path= MONGODB_DBPATH MONGODB_LOGPATH
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.boost-libs}/lib
+
MONGODB_MAN_FILES= bsondump.1 mongo.1 mongod.1 mongodump.1 mongoexport.1 \
mongofiles.1 mongoimport.1 mongooplog.1 mongoperf.1 \
mongorestore.1 mongos.1 mongosniff.1 mongostat.1 mongotop.1
+NOT_PAX_MPROTECT_SAFE+= bin/mongo
+
RCD_SCRIPTS= mongodb
INSTALLATION_DIRS+= share/doc/mongodb share/examples/mongodb ${PKGMANDIR}/man1
@@ -94,10 +99,12 @@ CONF_FILES+= share/examples/mongodb/mon
post-extract:
chmod -R g-w ${WRKSRC}
- cp -r ${WRKSRC}/src/third_party/mozjs-38/platform/x86_64/freebsd \
- ${WRKSRC}/src/third_party/mozjs-38/platform/x86_64/dragonfly
- cp -r ${WRKSRC}/src/third_party/mozjs-38/platform/x86_64/openbsd \
- ${WRKSRC}/src/third_party/mozjs-38/platform/x86_64/netbsd
+ cp -r ${WRKSRC}/src/third_party/mozjs-45/platform/x86_64/freebsd \
+ ${WRKSRC}/src/third_party/mozjs-45/platform/x86_64/dragonfly
+ cp -r ${WRKSRC}/src/third_party/mozjs-45/platform/x86_64/openbsd \
+ ${WRKSRC}/src/third_party/mozjs-45/platform/x86_64/netbsd
+ cp ${WRKSRC}/src/mongo/db/ftdc/ftdc_system_stats_openbsd.cpp \
+ ${WRKSRC}/src/mongo/db/ftdc/ftdc_system_stats_netbsd.cpp
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS_BIN} ${SCONS_ARGS} core
Index: pkgsrc/databases/mongodb/PLIST
diff -u pkgsrc/databases/mongodb/PLIST:1.1 pkgsrc/databases/mongodb/PLIST:1.2
--- pkgsrc/databases/mongodb/PLIST:1.1 Sat May 2 08:10:33 2015
+++ pkgsrc/databases/mongodb/PLIST Mon May 29 14:44:46 2017
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2015/05/02 08:10:33 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/05/29 14:44:46 ryoon Exp $
bin/mongo
bin/mongod
bin/mongoperf
bin/mongos
-bin/mongosniff
man/man1/bsondump.1
man/man1/mongo.1
man/man1/mongod.1
Index: pkgsrc/databases/mongodb/distinfo
diff -u pkgsrc/databases/mongodb/distinfo:1.17 pkgsrc/databases/mongodb/distinfo:1.18
--- pkgsrc/databases/mongodb/distinfo:1.17 Mon Oct 24 19:25:47 2016
+++ pkgsrc/databases/mongodb/distinfo Mon May 29 14:44:46 2017
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.17 2016/10/24 19:25:47 ryoon Exp $
+$NetBSD: distinfo,v 1.18 2017/05/29 14:44:46 ryoon Exp $
-SHA1 (mongodb-src-r3.2.10.tar.gz) = 1b60e390d7b89aa20f159114fb7c94ecaea132f6
-RMD160 (mongodb-src-r3.2.10.tar.gz) = 24bc6881712d247672b8f02326123fb8ed30bec7
-SHA512 (mongodb-src-r3.2.10.tar.gz) = b9592c7cb0184ae10e1e7092b3fa0fc52b10acef1d7beffb2c2409867e237042d7765cc7191972ded10c278756cde1ff7b23b57fb7efd8363e18f2ce994985e9
-Size (mongodb-src-r3.2.10.tar.gz) = 29062097 bytes
-SHA1 (patch-SConstruct) = 493ae46399e4cb28e85d2c3a06789dc5dad81fb2
-SHA1 (patch-debian_mongod.conf) = d4146b3d62b4472d55609c7f6aaa596f8f893d1f
+SHA1 (mongodb-src-r3.4.4.tar.gz) = 6f9f2d8a3c1c2f4089fd03f8be0b86ff0431d955
+RMD160 (mongodb-src-r3.4.4.tar.gz) = 2a65f380204a92762ceea2be35dbe2c671e106f6
+SHA512 (mongodb-src-r3.4.4.tar.gz) = dbae89b49c363e7258021cd31385e4449bfdfdfd5adfcb1683e4431372731e58ec33bf8f7576d2d52659a52461bd6a32fbc67d5c6e36d52184ec1aabb345d940
+Size (mongodb-src-r3.4.4.tar.gz) = 39867133 bytes
+SHA1 (patch-SConstruct) = 5e920c85dd27f1dd761fe7083074fed0eb1edeae
+SHA1 (patch-debian_mongod.conf) = e5074b5f7ad50560b99d652feab58da764ba542c
SHA1 (patch-src_mongo_base_initializer.h) = add32c5940c922a98122d0e6883eb3ad52dc25c5
SHA1 (patch-src_mongo_db_fts_unicode_string.cpp) = 98c5b1b39c07190f08ec9f22ec3002b0a803f72f
-SHA1 (patch-src_mongo_db_repl_isself.c) = 8cb386b7b0a8925908f20ac9b9b18cac796367ba
+SHA1 (patch-src_mongo_db_repl_isself.c) = 82321c918b91ce1a68ce79c14589126aca6baf96
SHA1 (patch-src_mongo_platform_random.cpp) = 59c31e55fc2dc5a2b82b8f16dacf8736d8354cdb
SHA1 (patch-src_mongo_platform_stack__locator__dragonfly.cpp) = fb885c491e4de1cfbc2875620d854af726e5b45f
SHA1 (patch-src_mongo_platform_stack__locator__netbsd.cpp) = 3b09e86b2401555b6ab4c31d14c0693d766119c2
@@ -16,8 +16,11 @@ SHA1 (patch-src_mongo_shell_linenoise__u
SHA1 (patch-src_mongo_util_intrusive__counter.h) = 9f1af59e1bc86e33bf183a6dda1737007afc7a18
SHA1 (patch-src_mongo_util_processinfo__dragonfly.cpp) = 62c236ce820dfe81f45625b15e022cca0f2c10ee
SHA1 (patch-src_mongo_util_processinfo__netbsd.cpp) = 4c746c4c3a79df849994c00a4639662d8a2c799d
-SHA1 (patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h) = 81107c2d368884dc0d2fddc03862fe58f2035206
-SHA1 (patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h) = f2b90732fd18048cf7feac44cca54c99a2420a4a
+SHA1 (patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c) = ef3b260e8a49227cbbabf427500b7c70bce15083
+SHA1 (patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h) = 39f6fba82e2870ee4a5d99785033621225a72a16
+SHA1 (patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h) = d3a85d3a3b33691466c65cdf51c56f221429aea9
+SHA1 (patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h) = c2ad1041b5c1ff9fac9085d2a8963781f51873a8
+SHA1 (patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h) = 7ddbb4e3bf4126a1be2195acc82ff859e8130a01
SHA1 (patch-src_third__party_s2_base_port.h) = 892ce91b5aaa432f34e1e7c169b7fd6eea2a3e94
SHA1 (patch-src_third__party_wiredtiger_SConscript) = 9b11a7703f4db845fb38ba996238fe1ca7f24767
SHA1 (patch-src_third__party_wiredtiger_build__dragonfly_wiredtiger__config.h) = 0b00da401f832d985107dfa5dcc6447db4beec6d
Index: pkgsrc/databases/mongodb/patches/patch-SConstruct
diff -u pkgsrc/databases/mongodb/patches/patch-SConstruct:1.5 pkgsrc/databases/mongodb/patches/patch-SConstruct:1.6
--- pkgsrc/databases/mongodb/patches/patch-SConstruct:1.5 Mon Oct 24 19:25:47 2016
+++ pkgsrc/databases/mongodb/patches/patch-SConstruct Mon May 29 14:44:47 2017
@@ -1,9 +1,11 @@
-$NetBSD: patch-SConstruct,v 1.5 2016/10/24 19:25:47 ryoon Exp $
+$NetBSD: patch-SConstruct,v 1.6 2017/05/29 14:44:47 ryoon Exp $
Add support for NetBSD/Dragonfly, fix locations.
---- SConstruct.orig 2016-06-02 14:46:27.000000000 +0000
+Respect LDFLAGS and CXXFLAGS
+
+--- SConstruct.orig 2017-04-20 21:43:42.000000000 +0000
+++ SConstruct
-@@ -40,8 +40,12 @@ def get_running_os_name():
+@@ -49,8 +49,12 @@ def get_running_os_name():
running_os = os.sys.platform
if running_os.startswith('linux'):
running_os = 'linux'
@@ -16,7 +18,7 @@ Add support for NetBSD/Dragonfly, fix lo
elif running_os.startswith('openbsd'):
running_os = 'openbsd'
elif running_os == 'sunos5':
-@@ -59,7 +63,7 @@ def env_get_os_name_wrapper(self):
+@@ -68,7 +72,7 @@ def env_get_os_name_wrapper(self):
def is_os_raw(target_os, os_list_to_check):
okay = False
@@ -25,7 +27,7 @@ Add support for NetBSD/Dragonfly, fix lo
for p in os_list_to_check:
if p == 'posix' and target_os in posix_os_list:
-@@ -831,6 +835,7 @@ envDict = dict(BUILD_ROOT=buildDir,
+@@ -892,6 +896,7 @@ envDict = dict(BUILD_ROOT=buildDir,
INSTALL_DIR=installDir,
CONFIG_HEADER_DEFINES={},
LIBDEPS_TAG_EXPANSIONS=[],
@@ -33,7 +35,7 @@ Add support for NetBSD/Dragonfly, fix lo
)
env = Environment(variables=env_vars, **envDict)
-@@ -968,7 +973,9 @@ def CheckForProcessor(context, which_arc
+@@ -1029,7 +1034,9 @@ def CheckForProcessor(context, which_arc
os_macros = {
"windows": "_WIN32",
"solaris": "__sun",
@@ -43,7 +45,7 @@ Add support for NetBSD/Dragonfly, fix lo
"openbsd": "__OpenBSD__",
"osx": "__APPLE__",
"linux": "__linux__",
-@@ -1233,7 +1240,7 @@ if env['_LIBDEPS'] == '$_LIBDEPS_OBJS':
+@@ -1360,7 +1367,7 @@ elif env['_LIBDEPS'] == '$_LIBDEPS_LIBS'
libdeps.setup_environment(env, emitting_shared=(link_model.startswith("dynamic")))
@@ -52,7 +54,7 @@ Add support for NetBSD/Dragonfly, fix lo
env['LINK_LIBGROUP_START'] = '-Wl,--start-group'
env['LINK_LIBGROUP_END'] = '-Wl,--end-group'
env['LINK_WHOLE_ARCHIVE_START'] = '-Wl,--whole-archive'
-@@ -1261,10 +1268,24 @@ if env.TargetOSIs('linux'):
+@@ -1388,10 +1395,24 @@ if env.TargetOSIs('linux'):
elif env.TargetOSIs('solaris'):
env.Append( LIBS=["socket","resolv","lgrp"] )
@@ -77,19 +79,30 @@ Add support for NetBSD/Dragonfly, fix lo
elif env.TargetOSIs('openbsd'):
env.Append( LIBS=[ "kvm" ] )
-@@ -1432,8 +1453,11 @@ if env.TargetOSIs('posix'):
- if not has_option("disable-warnings-as-errors"):
- env.Append( CCFLAGS=["-Werror"] )
+@@ -1570,6 +1591,9 @@ if env.TargetOSIs('posix'):
+ env.Append( CXXFLAGS=["-Woverloaded-virtual"] )
+ env.Append( LINKFLAGS=["-pthread"] )
+ env.Append( CPPDEFINES=["XP_UNIX=1"] )
- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
- env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program
# startup.
-@@ -2406,6 +2430,7 @@ def doConfigure(myenv):
+@@ -2158,9 +2182,9 @@ def doConfigure(myenv):
+ if usingLibStdCxx:
+ def CheckModernLibStdCxx(context):
+ test_body = """
+- #if !__has_include(<experimental/filesystem>)
+- #error "libstdc++ from GCC 5.3.0 or newer is required"
+- #endif
++ //#if !__has_include(<experimental/filesystem>)
++ //#error "libstdc++ from GCC 5.3.0 or newer is required"
++ //#endif
+ """
+
+ context.Message('Checking for libstdc++ 5.3.0 or better... ')
+@@ -2764,6 +2788,7 @@ def doConfigure(myenv):
# permit more than four parameters.
"BOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD",
"BOOST_SYSTEM_NO_DEPRECATED",
@@ -97,7 +110,7 @@ Add support for NetBSD/Dragonfly, fix lo
]
)
-@@ -2472,7 +2497,7 @@ def doConfigure(myenv):
+@@ -2830,7 +2855,7 @@ def doConfigure(myenv):
myenv.ConfError("Couldn't find SASL header/libraries")
# requires ports devel/libexecinfo to be installed
Index: pkgsrc/databases/mongodb/patches/patch-debian_mongod.conf
diff -u pkgsrc/databases/mongodb/patches/patch-debian_mongod.conf:1.3 pkgsrc/databases/mongodb/patches/patch-debian_mongod.conf:1.4
--- pkgsrc/databases/mongodb/patches/patch-debian_mongod.conf:1.3 Fri Feb 12 03:37:24 2016
+++ pkgsrc/databases/mongodb/patches/patch-debian_mongod.conf Mon May 29 14:44:47 2017
@@ -1,14 +1,14 @@
-$NetBSD: patch-debian_mongod.conf,v 1.3 2016/02/12 03:37:24 ryoon Exp $
+$NetBSD: patch-debian_mongod.conf,v 1.4 2017/05/29 14:44:47 ryoon Exp $
Use proper paths in default config file.
---- debian/mongod.conf.orig 2016-01-05 18:31:44.000000000 +0000
+--- debian/mongod.conf.orig 2017-04-20 21:43:42.000000000 +0000
+++ debian/mongod.conf
@@ -5,7 +5,7 @@
# Where and how to store data.
storage:
- dbPath: /var/lib/mongodb
-+ dbPath: @MONGODB_DBPATH@
++ dbPath: /var/mongodb
journal:
enabled: true
# engine:
@@ -17,7 +17,7 @@ Use proper paths in default config file.
destination: file
logAppend: true
- path: /var/log/mongodb/mongod.log
-+ path: @MONGODB_DBPATH@/mongod.log
++ path: /var/mongodb/mongod.log
# network interfaces
net:
Index: pkgsrc/databases/mongodb/patches/patch-src_mongo_db_repl_isself.c
diff -u pkgsrc/databases/mongodb/patches/patch-src_mongo_db_repl_isself.c:1.3 pkgsrc/databases/mongodb/patches/patch-src_mongo_db_repl_isself.c:1.4
--- pkgsrc/databases/mongodb/patches/patch-src_mongo_db_repl_isself.c:1.3 Fri Feb 12 03:37:24 2016
+++ pkgsrc/databases/mongodb/patches/patch-src_mongo_db_repl_isself.c Mon May 29 14:44:47 2017
@@ -1,11 +1,11 @@
-$NetBSD: patch-src_mongo_db_repl_isself.c,v 1.3 2016/02/12 03:37:24 ryoon Exp $
+$NetBSD: patch-src_mongo_db_repl_isself.c,v 1.4 2017/05/29 14:44:47 ryoon Exp $
* Add NetBSD support.
---- src/mongo/db/repl/isself.cpp.orig 2016-01-05 18:31:44.000000000 +0000
+--- src/mongo/db/repl/isself.cpp.orig 2017-04-20 21:43:42.000000000 +0000
+++ src/mongo/db/repl/isself.cpp
-@@ -48,7 +48,7 @@
- #include "mongo/util/log.h"
+@@ -50,7 +50,7 @@
+ #include "mongo/util/scopeguard.h"
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) || \
- defined(__OpenBSD__)
@@ -13,7 +13,7 @@ $NetBSD: patch-src_mongo_db_repl_isself.
#define FASTPATH_UNIX 1
#endif
-@@ -61,7 +61,7 @@
+@@ -63,7 +63,7 @@
#include <ifaddrs.h>
#include <netdb.h>
Index: pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h
diff -u pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h:1.1
pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h:1.2
--- pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h:1.1 Fri Feb 12 03:37:24 2016
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h Mon May 29 14:44:47 2017
@@ -1,7 +1,7 @@
-$NetBSD: patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h,v 1.1 2016/02/12 03:37:24 ryoon Exp $
+$NetBSD: patch-src_third__party_mozjs-38_platform_x86__64_netbsd_build_js-confdefs.h,v 1.2 2017/05/29 14:44:47 ryoon Exp $
---- src/third_party/mozjs-38/platform/x86_64/netbsd/build/js-confdefs.h.orig 2016-02-11 12:42:39.272068631 +0000
-+++ src/third_party/mozjs-38/platform/x86_64/netbsd/build/js-confdefs.h
+--- src/third_party/mozjs-45/platform/x86_64/netbsd/build/js-confdefs.h.orig 2016-02-11 12:42:39.272068631 +0000
++++ src/third_party/mozjs-45/platform/x86_64/netbsd/build/js-confdefs.h
@@ -19,7 +19,6 @@
#define HAVE_CPUID_H 1
#define HAVE_DIRENT_H 1
Index: pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h
diff -u pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h:1.1
pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h:1.2
--- pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h:1.1 Fri Feb 12 03:37:24 2016
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h Mon May 29 14:44:47 2017
@@ -1,7 +1,7 @@
-$NetBSD: patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h,v 1.1 2016/02/12 03:37:24 ryoon Exp $
+$NetBSD: patch-src_third__party_mozjs-38_platform_x86__64_netbsd_include_js-config.h,v 1.2 2017/05/29 14:44:47 ryoon Exp $
---- src/third_party/mozjs-38/platform/x86_64/netbsd/include/js-config.h.orig 2016-02-11 12:24:33.328723425 +0000
-+++ src/third_party/mozjs-38/platform/x86_64/netbsd/include/js-config.h
+--- src/third_party/mozjs-45/platform/x86_64/netbsd/include/js-config.h.orig 2016-02-11 12:24:33.328723425 +0000
++++ src/third_party/mozjs-45/platform/x86_64/netbsd/include/js-config.h
@@ -36,7 +36,7 @@
/* Define to 1 if the <endian.h> header is present and
Added files:
Index: pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c
diff -u /dev/null pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c:1.1
--- /dev/null Mon May 29 14:44:47 2017
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c Mon May 29 14:44:47 2017
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_dpml__exception.c,v 1.1 2017/05/29 14:44:47 ryoon Exp $
+
+--- src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c.orig 2017-04-20 21:43:42.000000000 +0000
++++ src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c
+@@ -131,6 +131,7 @@
+ #if !defined(DPML_SIGNAL) && !defined(MINIMAL_SILENT_MODE_EXCEPTION_HANDLER) && \
+ !defined(wnt)
+
++# include <sys/types.h>
+ # include <sys/signal.h>
+ # define DPML_SIGNAL(p) raise(SIGFPE)
+
Index: pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h
diff -u /dev/null pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h:1.1
--- /dev/null Mon May 29 14:44:47 2017
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h Mon May 29 14:44:47 2017
@@ -0,0 +1,120 @@
+$NetBSD: patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_float128_op__system.h,v 1.1 2017/05/29 14:44:47 ryoon Exp $
+
+--- src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/op_system.h.orig 2017-04-20 21:43:42.000000000 +0000
++++ src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/op_system.h
+@@ -44,6 +44,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define dos 1
+ # define OP_SYSTEM dos
+@@ -62,6 +63,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define vms 2
+ # define OP_SYSTEM vms
+@@ -80,6 +82,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define wnt 3
+ # define OP_SYSTEM wnt
+@@ -98,6 +101,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define linux 8
+ # define OP_SYSTEM linux
+@@ -117,6 +121,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define osf 4
+ # define OP_SYSTEM osf
+@@ -135,6 +140,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define hp_ux 5
+ # define OP_SYSTEM hp_ux
+@@ -153,6 +159,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define unicos 6
+ # define OP_SYSTEM unicos
+@@ -171,6 +178,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define ultrix 7
+ # define OP_SYSTEM ultrix
+@@ -188,6 +196,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define win64 9
+ # define OP_SYSTEM win64
+@@ -205,6 +214,7 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define darwin 10
+ # define OP_SYSTEM darwin
+@@ -221,9 +231,27 @@
+ # undef win64
+ # undef darwin
+ # undef interix
++# undef netbsd
+
+ # define interix 11
+ # define OP_SYSTEM interix
++
++#elif defined(__NetBSD__)
++# undef dos
++# undef vms
++# undef wnt
++# undef osf
++# undef hp_ux
++# undef linux
++# undef unicos
++# undef ultrix
++# undef win64
++# undef darwin
++# undef interix
++# undef netbsd
++
++# define netbsd 12
++# define OP_SYSTEM netbsd
+ #else
+
+ # error Operating system must be specified.
+@@ -235,6 +263,7 @@
+ OP_SYSTEM == linux || \
+ OP_SYSTEM == osf || \
+ OP_SYSTEM == ultrix || \
++ OP_SYSTEM == netbsd || \
+ OP_SYSTEM == unicos \
+ )
+
Index: pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h
diff -u /dev/null pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h:1.1
--- /dev/null Mon May 29 14:44:47 2017
+++ pkgsrc/databases/mongodb/patches/patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h Mon May 29 14:44:47 2017
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_third__party_IntelRDFPMathLib20U1_LIBRARY_src_bid__functions.h,v 1.1 2017/05/29 14:44:47 ryoon Exp $
+
+--- src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h.orig 2017-04-20 21:43:42.000000000 +0000
++++ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h
+@@ -159,7 +159,7 @@ typedef unsigned long fexcept_t;
+ typedef unsigned bid__int64 fexcept_t;
+ #endif
+ #else
+-#ifdef __QNX__
++#if defined(__QNX__) || defined(__NetBSD__)
+ #include <fenv.h>
+ #else
+ typedef unsigned short int fexcept_t;
Home |
Main Index |
Thread Index |
Old Index