FreeBSD Bugzilla – Attachment 161400 Details for
Bug 203043
[new port] databases/rethinkdb 2.3.5: Scalable JSON database for the realtime web
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
v8
rethinkdb.shar (text/plain), 35.88 KB, created by
Carlos J Puga Medina
on 2015-09-25 18:49:16 UTC
(
hide
)
Description:
v8
Filename:
MIME Type:
Creator:
Carlos J Puga Medina
Created:
2015-09-25 18:49:16 UTC
Size:
35.88 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># rethinkdb ># rethinkdb/Makefile ># rethinkdb/pkg-descr ># rethinkdb/distinfo ># rethinkdb/pkg-plist ># rethinkdb/files ># rethinkdb/files/patch-external_v8__3.30.33.16_build_shim__headers.gypi ># rethinkdb/files/extra-patch-config.mk-1 ># rethinkdb/files/patch-src_extproc_extproc__spawner.cc ># rethinkdb/files/patch-mk_support_pkg_pkg.sh ># rethinkdb/files/patch-src_parsing_util.cc ># rethinkdb/files/patch-src_clustering_administration_main_cache__size.cc ># rethinkdb/files/extra-patch-config.mk-2 ># rethinkdb/files/patch-scripts_compile-web-assets.py ># rethinkdb/files/patch-src_containers_printf__buffer.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_tools_gyp_v8.gyp ># rethinkdb/files/patch-src_build.mk ># rethinkdb/files/patch-external_v8__3.30.33.16_src_preparser.h ># rethinkdb/files/patch-src_arch_runtime_thread__pool.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_src_base_platform_platform-posix.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_build_gyp_pylib_gyp_generator_make.py ># rethinkdb/files/patch-external_v8__3.30.33.16_build_gyp_gyp ># rethinkdb/files/patch-src_arch_io_disk_filestat.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_Makefile ># rethinkdb/files/patch-src_threading.hpp ># rethinkdb/files/patch-src_arch_io_io__utils.cc ># rethinkdb/files/patch-configure ># rethinkdb/files/patch-external_v8__3.30.33.16_src_unique.h ># rethinkdb/files/patch-src_arch_runtime_context__switching.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_src_base_platform_platform-freebsd.cc ># rethinkdb/files/patch-src_arch_io_timer__provider.hpp ># rethinkdb/files/patch-src_rdb__protocol_geo_s2_base_port.h ># rethinkdb/files/patch-external_v8__3.30.33.16_test_cctest_cctest.gyp ># rethinkdb/files/patch-src_rdb__protocol_geo_s2_util_math_exactfloat_exactfloat.cc ># rethinkdb/files/patch-src_extproc_extproc__worker.cc ># rethinkdb/files/patch-src_errors.hpp ># rethinkdb/files/patch-src_arch_io_timer_timer__signal__provider.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_src_runtime_runtime-i18n.cc ># rethinkdb/files/patch-src_arch_io_disk.cc ># rethinkdb/files/extra-patch-config.mk-3 ># rethinkdb/files/patch-external_v8__3.30.33.16_src_debug.cc ># rethinkdb/files/patch-external_v8__3.30.33.16_src_d8.gyp ># rethinkdb/files/patch-src_logger.hpp ># rethinkdb/files/patch-src_arch_runtime_event__queue_poll.cc ># rethinkdb/files/patch-src_rdb__protocol_terms_arith.cc ># >echo c - rethinkdb >mkdir -p rethinkdb > /dev/null 2>&1 >echo x - rethinkdb/Makefile >sed 's/^X//' >rethinkdb/Makefile << 'a22ae250770d30bdc9615c29b6a81831' >X# $FreeBSD$ >X >XPORTNAME= rethinkdb >XPORTVERSION= 2.1.4 >XCATEGORIES= databases >XMASTER_SITES= http://download.rethinkdb.com/dist/ >X >XMAINTAINER= pi@FreeBSD.org >XCOMMENT= Scalable JSON database for the realtime web >X >XLICENSE= AGPLv3 >XLICENSE_FILE= ${WRKSRC}/COPYRIGHT >X >XLIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf \ >X libboost_system.so:${PORTSDIR}/devel/boost-libs \ >X libcurl.so:${PORTSDIR}/ftp/curl \ >X libcrypto.so:${PORTSDIR}/security/openssl >XBUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ >X npm:${PORTSDIR}/www/npm \ >X wget:${PORTSDIR}/ftp/wget >X >XMAKE_JOBS_UNSAFE=yes >XMAKE_ENV+= VERBOSE=1 >X >XUSES= execinfo gmake python:build,run tar:tgz >XCXXFLAGS+= -D_GLIBCXX_USE_C99 >X >X.include <bsd.port.pre.mk> >X >X.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000000 >XBUILD_DEPENDS+= g++46:${PORTSDIR}/lang/gcc46 >X.endif >X >Xdo-configure: >X.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000000 >X cd ${WRKSRC} && \ >X CXX=${LOCALBASE}/bin/g++46 \ >X CXXFLAGS=-I${LOCALBASE}/include \ >X CFLAGS=-I${LOCALBASE}/include \ >X LDFLAGS=-L${LOCALBASE}/lib \ >X PYTHON=${LOCALBASE}/bin/python2.7 \ >X ./configure --with-system-malloc >X cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-config.mk-1 >X cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-config.mk-2 >X.else >X cd ${WRKSRC} && \ >X CXXFLAGS=-I${LOCALBASE}/include \ >X CFLAGS=-I${LOCALBASE}/include \ >X LDFLAGS=-L${LOCALBASE}/lib \ >X PYTHON=${LOCALBASE}/bin/python2.7 \ >X ./configure --with-system-malloc >X cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-config.mk-1 >X cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-config.mk-2 >X cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/extra-patch-config.mk-3 >X.endif >X >X.include <bsd.port.post.mk> >a22ae250770d30bdc9615c29b6a81831 >echo x - rethinkdb/pkg-descr >sed 's/^X//' >rethinkdb/pkg-descr << '1212519985df8352a3fb1f1f9a91b7b4' >XRethinkDB is a open-source, scalable JSON database for the realtime >Xweb. It inverts the traditional database architecture by providing >Xa new access model - instead of polling for changes, the developer >Xcan tell RethinkDB to continuously push updated query results to >Xapplications in realtime. >X >XWWW: http://www.rethinkdb.com/ >1212519985df8352a3fb1f1f9a91b7b4 >echo x - rethinkdb/distinfo >sed 's/^X//' >rethinkdb/distinfo << '3b9b6cc973a17db78ee7049a565adf9d' >XSHA256 (rethinkdb-2.1.4.tgz) = 2553ad4a31b5f09522fc651fd2cfa98d76bccfebd6db87ef929eda54220f70b2 >XSIZE (rethinkdb-2.1.4.tgz) = 27568537 >3b9b6cc973a17db78ee7049a565adf9d >echo x - rethinkdb/pkg-plist >sed 's/^X//' >rethinkdb/pkg-plist << 'aa49e6024d1f6a078aef020834d6d102' >Xbin/rethinkdb >Xetc/init.d/rethinkdb >X%%ETCDIR%%/default.conf.sample >X%%PORTDOCS%%%%DOCSDIR%%/copyright >Xshare/man/man1/rethinkdb.1.gz >X@dir %%ETCDIR%%/instances.d >X@dir /var/lib/rethinkdb/instances.d >X@dir /var/lib/rethinkdb >X@dir /var/lib >aa49e6024d1f6a078aef020834d6d102 >echo c - rethinkdb/files >mkdir -p rethinkdb/files > /dev/null 2>&1 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_build_shim__headers.gypi >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_build_shim__headers.gypi << '72c2dd76a91b0c7ad98a1813c8c2063d' >X--- external/v8_3.30.33.16/build/shim_headers.gypi.orig 2015-03-30 21:14:20 UTC >X+++ external/v8_3.30.33.16/build/shim_headers.gypi >X@@ -62,7 +62,7 @@ >X 'outputs': [ >X '<!@pymod_do_main(generate_shim_headers <@(generator_args) --outputs)', >X ], >X- 'action': ['python', >X+ 'action': ['python2.7', >X '<(generator_path)', >X '<@(generator_args)', >X '--generate', >72c2dd76a91b0c7ad98a1813c8c2063d >echo x - rethinkdb/files/extra-patch-config.mk-1 >sed 's/^X//' >rethinkdb/files/extra-patch-config.mk-1 << '9ce4c9ff8731a4d75d0986ba8a240656' >X--- config.mk.orig 2015-09-17 21:33:33.752341000 +0200 >X+++ config.mk 2015-09-17 21:33:58.113369000 +0200 >X@@ -21,6 +21,6 @@ >X # Host Operating System >X OS := FreeBSD >X-PTHREAD_LIBS := >X-RT_LIBS := >X+PTHREAD_LIBS := -lthr >X+RT_LIBS := -lrt >X M_LIBS := -lm >X # Build Architecture >9ce4c9ff8731a4d75d0986ba8a240656 >echo x - rethinkdb/files/patch-src_extproc_extproc__spawner.cc >sed 's/^X//' >rethinkdb/files/patch-src_extproc_extproc__spawner.cc << '218bae850bdcd24aa9aa3f9d8fe58524' >X--- src/extproc/extproc_spawner.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/extproc/extproc_spawner.cc >X@@ -218,7 +218,7 @@ fd_t extproc_spawner_t::spawn(object_buf >X res = send_fds(spawner_socket.get(), 1, &fds[1]); >X guarantee_err(res == 0, "could not send socket file descriptor to worker process"); >X >X- stream_out->create(fds[0], reinterpret_cast<fd_watcher_t*>(NULL)); >X+ stream_out->create(fds[0], static_cast<fd_watcher_t*>(NULL)); >X >X // Get the pid of the new worker process >X archive_result_t archive_res; >218bae850bdcd24aa9aa3f9d8fe58524 >echo x - rethinkdb/files/patch-mk_support_pkg_pkg.sh >sed 's/^X//' >rethinkdb/files/patch-mk_support_pkg_pkg.sh << 'b069adc2f37c872f2d8268ad746ab3bf' >X--- mk/support/pkg/pkg.sh.orig 2015-09-04 12:50:36 UTC >X+++ mk/support/pkg/pkg.sh >X@@ -143,7 +143,7 @@ pkg_configure () { >X } >X >X pkg_make () { >X- in_dir "$build_dir" make "$@" >X+ in_dir "$build_dir" gmake "$@" >X } >X >X pkg_install () { >b069adc2f37c872f2d8268ad746ab3bf >echo x - rethinkdb/files/patch-src_parsing_util.cc >sed 's/^X//' >rethinkdb/files/patch-src_parsing_util.cc << 'b80ce3fda85d9baaec2f7c694fa521b2' >X--- src/parsing/util.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/parsing/util.cc >X@@ -1,7 +1,9 @@ >X // Copyright 2010-2012 RethinkDB, all rights reserved. >X #include "parsing/util.hpp" >X >X+#ifndef __FreeBSD__ >X #include <alloca.h> >X+#endif >X >X #include "arch/io/network.hpp" >X >b80ce3fda85d9baaec2f7c694fa521b2 >echo x - rethinkdb/files/patch-src_clustering_administration_main_cache__size.cc >sed 's/^X//' >rethinkdb/files/patch-src_clustering_administration_main_cache__size.cc << '972cda8c8e3eaad3d702fca4a6883caa' >X--- src/clustering/administration/main/cache_size.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/clustering/administration/main/cache_size.cc >X@@ -180,7 +180,11 @@ uint64_t get_avail_mem_size() { >X "as if it were unavailable."); >X >X // This just returns what /proc/meminfo would report as "MemFree". >X+#ifdef __FreeBSD__ >X+ uint64_t avail_mem_pages = sysconf(_SC_PHYS_PAGES); >X+#else >X uint64_t avail_mem_pages = sysconf(_SC_AVPHYS_PAGES); >X+#endif >X return avail_mem_pages * page_size; >X } >X } >972cda8c8e3eaad3d702fca4a6883caa >echo x - rethinkdb/files/extra-patch-config.mk-2 >sed 's/^X//' >rethinkdb/files/extra-patch-config.mk-2 << '6f21bb80cfb1f9481460e559f421c7d2' >X--- config.mk.orig 2015-09-11 16:29:03.936294000 +0200 >X+++ config.mk 2015-09-13 23:45:19.939154000 +0200 >X@@ -151,7 +153,7 @@ >X CRYPTO_INCLUDE_DEP := >X CRYPTO_LIBS_DEP := >X # curl >X-CURL_LIBS += -lcurl >X+CURL_LIBS += -L/usr/local/lib -lcurl >X HAS_CURL := 1 >X HAS_CURL := 1 >X CURL_INCLUDE := >X@@ -179,5 +181,5 @@ >X # Configuration prefix >X SYSCONFDIR := /usr/local/etc >X # Runtime data prefix >X-LOCALSTATEDIR := /usr/local/var >X+LOCALSTATEDIR := /var >X CONFIGURE_STATUS := success >6f21bb80cfb1f9481460e559f421c7d2 >echo x - rethinkdb/files/patch-scripts_compile-web-assets.py >sed 's/^X//' >rethinkdb/files/patch-scripts_compile-web-assets.py << 'f802325610cabb24efd2f867fcfa5995' >X--- scripts/compile-web-assets.py.orig 2015-09-04 12:50:36 UTC >X+++ scripts/compile-web-assets.py >X@@ -1,4 +1,4 @@ >X-#!/usr/bin/env python >X+#!/usr/bin/env python2.7 >X >X from __future__ import print_function, division >X >f802325610cabb24efd2f867fcfa5995 >echo x - rethinkdb/files/patch-src_containers_printf__buffer.cc >sed 's/^X//' >rethinkdb/files/patch-src_containers_printf__buffer.cc << '8acf9727bde0cddcbc755cb2156173fe' >X--- src/containers/printf_buffer.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/containers/printf_buffer.cc >X@@ -1,4 +1,5 @@ >X // Copyright 2010-2013 RethinkDB, all rights reserved. >X+#include <sys/types.h> >X #include "containers/printf_buffer.hpp" >X #include "math.hpp" >X >8acf9727bde0cddcbc755cb2156173fe >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_tools_gyp_v8.gyp >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_tools_gyp_v8.gyp << 'b259f21c64e596160e4df3b88096b61c' >X--- external/v8_3.30.33.16/tools/gyp/v8.gyp.orig 2015-03-30 21:14:22 UTC >X+++ external/v8_3.30.33.16/tools/gyp/v8.gyp >X@@ -1530,14 +1530,14 @@ >X '<(PRODUCT_DIR)/natives_blob_host.bin', >X ], >X 'action': [ >X- 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host.bin' >X+ 'python2.7', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host.bin' >X ], >X }, { >X 'outputs': [ >X '<(PRODUCT_DIR)/natives_blob.bin', >X ], >X 'action': [ >X- 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin' >X+ 'python2.7', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin' >X ], >X }], >X ], >X@@ -1546,7 +1546,7 @@ >X '<(PRODUCT_DIR)/natives_blob.bin', >X ], >X 'action': [ >X- 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin' >X+ 'python2.7', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin' >X ], >X }], >X ], >X@@ -1635,7 +1635,7 @@ >X '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', >X ], >X 'action': [ >X- 'python', >X+ 'python2.7', >X '../../tools/js2c.py', >X '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', >X 'CORE', >X@@ -1662,7 +1662,7 @@ >X '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', >X ], >X 'action': [ >X- 'python', >X+ 'python2.7', >X '../../tools/js2c.py', >X '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', >X 'EXPERIMENTAL', >X@@ -1700,7 +1700,7 @@ >X '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', >X ], >X 'action': [ >X- 'python', >X+ 'python2.7', >X '../../tools/gen-postmortem-metadata.py', >X '<@(_outputs)', >X '<@(heapobject_files)' >b259f21c64e596160e4df3b88096b61c >echo x - rethinkdb/files/patch-src_build.mk >sed 's/^X//' >rethinkdb/files/patch-src_build.mk << '1ff96b3f91ea4b8b48a16824fe7568d5' >X--- src/build.mk.orig 2015-09-16 03:24:36 UTC >X+++ src/build.mk >X@@ -107,7 +107,7 @@ endif >X >X >X ifneq (1,$(ALLOW_WARNINGS)) >X- RT_CXXFLAGS += -Werror >X+ RT_CXXFLAGS += >X endif >X >X RT_CXXFLAGS += -Wnon-virtual-dtor -Wno-deprecated-declarations -std=gnu++0x >X@@ -117,7 +117,7 @@ ifeq ($(COMPILER), INTEL) >X >X else ifeq ($(COMPILER), CLANG) >X RT_CXXFLAGS += -Wformat=2 -Wswitch-enum -Wswitch-default # -Wno-unneeded-internal-declaration >X- RT_CXXFLAGS += -Wused-but-marked-unused -Wundef -Wvla -Wshadow >X+ RT_CXXFLAGS += -Wvla -Wshadow >X RT_CXXFLAGS += -Wconditional-uninitialized -Wmissing-noreturn >X else ifeq ($(COMPILER), GCC) >X ifeq ($(LEGACY_GCC), 1) >1ff96b3f91ea4b8b48a16824fe7568d5 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_preparser.h >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_preparser.h << 'bb7e149ce2d21d3701e444017581b458' >X--- external/v8_3.30.33.16/src/preparser.h.orig 2015-03-30 21:14:21 UTC >X+++ external/v8_3.30.33.16/src/preparser.h >X@@ -437,7 +437,7 @@ class ParserBase : public Traits { >X void ReportMessageAt(Scanner::Location location, const char* message, >X bool is_reference_error = false) { >X Traits::ReportMessageAt(location, message, >X- reinterpret_cast<const char*>(NULL), >X+ static_cast<const char*>(NULL), >X is_reference_error); >X } >X >bb7e149ce2d21d3701e444017581b458 >echo x - rethinkdb/files/patch-src_arch_runtime_thread__pool.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_runtime_thread__pool.cc << '5ea58d7a6297f771690d81a2ac635882' >X--- src/arch/runtime/thread_pool.cc.orig 2015-09-04 12:50:36 UTC >X+++ src/arch/runtime/thread_pool.cc >X@@ -122,7 +122,7 @@ void *linux_thread_pool_t::start_thread( >X backtrace for us. */ >X #ifndef VALGRIND >X stack_t signal_stack; >X- signal_stack.ss_sp = malloc_aligned(SIGNAL_HANDLER_STACK_SIZE, getpagesize()); >X+ signal_stack.ss_sp = (char *)malloc_aligned(SIGNAL_HANDLER_STACK_SIZE, getpagesize()); >X signal_stack.ss_flags = 0; >X signal_stack.ss_size = SIGNAL_HANDLER_STACK_SIZE; >X int res = sigaltstack(&signal_stack, NULL); >5ea58d7a6297f771690d81a2ac635882 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_base_platform_platform-posix.cc >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_base_platform_platform-posix.cc << 'fc9490c1de89a6f255573e7ec748e439' >X--- external/v8_3.30.33.16/src/base/platform/platform-posix.cc.orig 2015-03-30 21:14:20 UTC >X+++ external/v8_3.30.33.16/src/base/platform/platform-posix.cc >X@@ -259,6 +259,8 @@ int OS::GetCurrentThreadId() { >X return static_cast<int>(syscall(__NR_gettid)); >X #elif V8_OS_ANDROID >X return static_cast<int>(gettid()); >X+#elif V8_OS_FREEBSD >X+ return pthread_getthreadid_np(); >X #else >X return static_cast<int>(pthread_self()); >X #endif >fc9490c1de89a6f255573e7ec748e439 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_build_gyp_pylib_gyp_generator_make.py >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_build_gyp_pylib_gyp_generator_make.py << '7a19b3e5f620d13045a094dc67e153db' >X--- external/v8_3.30.33.16/build/gyp/pylib/gyp/generator/make.py.orig 2015-03-30 21:14:20 UTC >X+++ external/v8_3.30.33.16/build/gyp/pylib/gyp/generator/make.py >X@@ -135,7 +135,7 @@ quiet_cmd_alink = AR($(TOOLSET)) $@ >X cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^) >X >X quiet_cmd_alink_thin = AR($(TOOLSET)) $@ >X-cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) >X+cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) -r $@ $(filter %.o,$^) >X >X # Due to circular dependencies between libraries :(, we wrap the >X # special "figure out circular dependencies" flags around the entire >X@@ -185,7 +185,7 @@ quiet_cmd_alink = AR($(TOOLSET)) $@ >X cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^) >X >X quiet_cmd_alink_thin = AR($(TOOLSET)) $@ >X-cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) >X+cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) -r $@ $(filter %.o,$^) >X >X # Due to circular dependencies between libraries :(, we wrap the >X # special "figure out circular dependencies" flags around the entire >7a19b3e5f620d13045a094dc67e153db >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_build_gyp_gyp >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_build_gyp_gyp << '53fded661838a0c7e5c49d61c50db391' >X--- external/v8_3.30.33.16/build/gyp/gyp.orig 2015-03-30 21:14:20 UTC >X+++ external/v8_3.30.33.16/build/gyp/gyp >X@@ -1,8 +1,8 @@ >X-#!/bin/bash >X+#!/usr/local/bin/bash >X # Copyright 2013 The Chromium Authors. All rights reserved. >X # Use of this source code is governed by a BSD-style license that can be >X # found in the LICENSE file. >X >X set -e >X base=$(dirname "$0") >X-exec python "${base}/gyp_main.py" "$@" >X+exec /usr/local/bin/python2.7 "${base}/gyp_main.py" "$@" >53fded661838a0c7e5c49d61c50db391 >echo x - rethinkdb/files/patch-src_arch_io_disk_filestat.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_io_disk_filestat.cc << 'f8014a18381221997e568662062c9cad' >X--- src/arch/io/disk/filestat.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/arch/io/disk/filestat.cc >X@@ -7,7 +7,7 @@ >X int64_t get_file_size(int fd) { >X guarantee(fd != -1); >X >X-#ifdef __MACH__ >X+#if defined(__MACH__) || defined(__FreeBSD__) >X struct stat buf; >X int res = fstat(fd, &buf); >X #else >f8014a18381221997e568662062c9cad >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_Makefile >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_Makefile << '799bebb9d7105b708972b4cddaeeb84b' >X--- external/v8_3.30.33.16/Makefile.orig 2015-03-30 21:14:20 UTC >X+++ external/v8_3.30.33.16/Makefile >X@@ -286,7 +286,7 @@ $(BUILDS): $(OUTDIR)/Makefile.$$@ >X @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ >X CXX="$(CXX)" LINK="$(LINK)" \ >X BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ >X- python -c "print \ >X+ python2.7 -c "print \ >X raw_input().replace('opt', '').capitalize()") \ >X builddir="$(shell pwd)/$(OUTDIR)/$@" >X >799bebb9d7105b708972b4cddaeeb84b >echo x - rethinkdb/files/patch-src_threading.hpp >sed 's/^X//' >rethinkdb/files/patch-src_threading.hpp << 'a613bd34af34a622bb7d96bd08a1039a' >X--- src/threading.hpp.orig 2015-09-04 12:50:37 UTC >X+++ src/threading.hpp >X@@ -1,6 +1,7 @@ >X #ifndef THREADING_HPP_ >X #define THREADING_HPP_ >X >X+#include <sys/types.h> >X #include "errors.hpp" >X >X // A thread number as used by the thread pool. >a613bd34af34a622bb7d96bd08a1039a >echo x - rethinkdb/files/patch-src_arch_io_io__utils.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_io_io__utils.cc << 'ab21513d3f1ecb8dc8ae6bb16f25acbb' >X--- src/arch/io/io_utils.cc.orig 2015-03-30 21:14:22 UTC >X+++ src/arch/io/io_utils.cc >X@@ -8,9 +8,11 @@ >X >X #include "logger.hpp" >X >X+#if 0 >X int _gettid() { >X return syscall(SYS_gettid); >X } >X+#endif >X >X fd_t scoped_fd_t::reset(fd_t f2) { >X if (fd != INVALID_FD) { >ab21513d3f1ecb8dc8ae6bb16f25acbb >echo x - rethinkdb/files/patch-configure >sed 's/^X//' >rethinkdb/files/patch-configure << 'e10cdaf9f55706379abcc8df0c12c086' >X--- configure.orig 2015-09-04 12:50:36 UTC >X+++ configure >X@@ -66,6 +66,11 @@ configure () { >X check_cross_compiling >X require "Host Operating System" >X case "${MACHINE#*-}" in >X+ *freebsd*) >X+ var OS "FreeBSD" >X+ default_allocator=$default_allocator_linux >X+ var PTHREAD_LIBS "" ; >X+ var RT_LIBS "" ;; >X *apple-darwin*) >X var OS "Darwin" >X default_allocator=$default_allocator_osx >e10cdaf9f55706379abcc8df0c12c086 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_unique.h >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_unique.h << '650343715cb5b07ddb780f17ad6aee9e' >X--- external/v8_3.30.33.16/src/unique.h.orig 2015-03-30 21:14:21 UTC >X+++ external/v8_3.30.33.16/src/unique.h >X@@ -117,7 +117,7 @@ class Unique { >X >X // TODO(titzer): this is a hack to migrate to Unique<T> incrementally. >X static Unique<T> CreateUninitialized(Handle<T> handle) { >X- return Unique<T>(reinterpret_cast<Address>(NULL), handle); >X+ return Unique<T>(static_cast<Address>(NULL), handle); >X } >X >X static Unique<T> CreateImmovable(Handle<T> handle) { >650343715cb5b07ddb780f17ad6aee9e >echo x - rethinkdb/files/patch-src_arch_runtime_context__switching.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_runtime_context__switching.cc << '36ba9797661790ebdda5deb727cdf7d6' >X--- src/arch/runtime/context_switching.cc.orig 2015-07-07 02:40:39 UTC >X+++ src/arch/runtime/context_switching.cc >X@@ -1,6 +1,10 @@ >X // Copyright 2010-2014 RethinkDB, all rights reserved. >X #include "arch/runtime/context_switching.hpp" >X >X+#ifdef __FreeBSD__ >X+#include <pthread_np.h> >X+#endif >X+ >X #include <pthread.h> >X #include <sys/mman.h> >X #include <unistd.h> >X@@ -544,7 +548,11 @@ void threaded_stack_t::get_stack_addr_si >X #else >X // Implementation for Linux >X pthread_attr_t attr; >X+#ifdef __FreeBSD__ >X+ int res = pthread_attr_get_np(thread, &attr); >X+#else >X int res = pthread_getattr_np(thread, &attr); >X+#endif >X guarantee_xerr(res == 0, res, "Unable to get pthread attributes"); >X res = pthread_attr_getstack(&attr, stackaddr_out, stacksize_out); >X guarantee_xerr(res == 0, res, "Unable to get pthread stack attribute"); >36ba9797661790ebdda5deb727cdf7d6 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_base_platform_platform-freebsd.cc >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_base_platform_platform-freebsd.cc << 'c787153f03094173cfd155898b2c282f' >X--- external/v8_3.30.33.16/src/base/platform/platform-freebsd.cc.orig 2015-03-30 21:14:20 UTC >X+++ external/v8_3.30.33.16/src/base/platform/platform-freebsd.cc >X@@ -141,7 +141,7 @@ std::vector<OS::SharedLibraryAddress> OS >X if (bytes_read < 8) break; >X unsigned end = StringToLong(addr_buffer); >X char buffer[MAP_LENGTH]; >X- int bytes_read = -1; >X+ bytes_read = -1; >X do { >X bytes_read++; >X if (bytes_read >= MAP_LENGTH - 1) >X@@ -188,7 +188,7 @@ VirtualMemory::VirtualMemory(size_t size >X void* reservation = mmap(OS::GetRandomMmapAddr(), >X request_size, >X PROT_NONE, >X- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >X+ MAP_PRIVATE | MAP_ANON, >X kMmapFd, >X kMmapFdOffset); >X if (reservation == MAP_FAILED) return; >X@@ -260,7 +260,7 @@ void* VirtualMemory::ReserveRegion(size_ >X void* result = mmap(OS::GetRandomMmapAddr(), >X size, >X PROT_NONE, >X- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >X+ MAP_PRIVATE | MAP_ANON, >X kMmapFd, >X kMmapFdOffset); >X >X@@ -288,7 +288,7 @@ bool VirtualMemory::UncommitRegion(void* >X return mmap(base, >X size, >X PROT_NONE, >X- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >X+ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >X kMmapFd, >X kMmapFdOffset) != MAP_FAILED; >X } >c787153f03094173cfd155898b2c282f >echo x - rethinkdb/files/patch-src_arch_io_timer__provider.hpp >sed 's/^X//' >rethinkdb/files/patch-src_arch_io_timer__provider.hpp << '97db5b9a770d3f646427705d307025b9' >X--- src/arch/io/timer_provider.hpp.orig 2015-01-29 04:30:55 UTC >X+++ src/arch/io/timer_provider.hpp >X@@ -14,10 +14,10 @@ >X #define RDB_TIMER_PROVIDER_KQUEUE 2 >X #define RDB_TIMER_PROVIDER_SIGNAL 3 >X >X-#ifdef LEGACY_LINUX >X+#if defined(LEGACY_LINUX) || defined(__FreeBSD__) >X #define RDB_TIMER_PROVIDER RDB_TIMER_PROVIDER_SIGNAL >X #else >X-#ifdef __MACH__ >X+#if defined(__MACH__) >X #define RDB_TIMER_PROVIDER RDB_TIMER_PROVIDER_KQUEUE >X #else >X #define RDB_TIMER_PROVIDER RDB_TIMER_PROVIDER_TIMERFD >97db5b9a770d3f646427705d307025b9 >echo x - rethinkdb/files/patch-src_rdb__protocol_geo_s2_base_port.h >sed 's/^X//' >rethinkdb/files/patch-src_rdb__protocol_geo_s2_base_port.h << 'fab83842fc6ebde17d73600d2c9e7f31' >X--- src/rdb_protocol/geo/s2/base/port.h.orig 2015-01-29 04:30:55 UTC >X+++ src/rdb_protocol/geo/s2/base/port.h >X@@ -115,6 +115,13 @@ typedef uint16_t u_int16_t; >X #define bswap_32(x) OSSwapInt32(x) >X #define bswap_64(x) OSSwapInt64(x) >X >X+#elif defined(__FreeBSD__) >X+// FreeBSD >X+#include <sys/endian.h> >X+#define bswap_16(x) bswap16(x) >X+#define bswap_32(x) bswap32(x) >X+#define bswap_64(x) bswap64(x) >X+ >X #else >X #include <byteswap.h> >X #endif >fab83842fc6ebde17d73600d2c9e7f31 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_test_cctest_cctest.gyp >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_test_cctest_cctest.gyp << '6eb3eaab0a04a3c4b8b4235f68a73230' >X--- external/v8_3.30.33.16/test/cctest/cctest.gyp.orig 2015-03-30 21:14:21 UTC >X+++ external/v8_3.30.33.16/test/cctest/cctest.gyp >X@@ -297,7 +297,7 @@ >X '<(generated_file)', >X ], >X 'action': [ >X- 'python', >X+ 'python2.7', >X '../../tools/js2c.py', >X '<@(_outputs)', >X 'TEST', # type >6eb3eaab0a04a3c4b8b4235f68a73230 >echo x - rethinkdb/files/patch-src_rdb__protocol_geo_s2_util_math_exactfloat_exactfloat.cc >sed 's/^X//' >rethinkdb/files/patch-src_rdb__protocol_geo_s2_util_math_exactfloat_exactfloat.cc << '8f9eca599fb6481c7ffdfe5b87896017' >X--- src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.cc.orig 2015-08-20 09:21:54 UTC >X+++ src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.cc >X@@ -20,7 +20,7 @@ using std::reverse; >X using std::numeric_limits; >X >X #ifndef __APPLE__ >X-using std::signbit; >X+/* using std::signbit; */ >X #endif >X >X >8f9eca599fb6481c7ffdfe5b87896017 >echo x - rethinkdb/files/patch-src_extproc_extproc__worker.cc >sed 's/^X//' >rethinkdb/files/patch-src_extproc_extproc__worker.cc << 'ffa2e9b7969d8442f971c2a337a170f4' >X--- src/extproc/extproc_worker.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/extproc/extproc_worker.cc >X@@ -1,6 +1,6 @@ >X // Copyright 2010-2013 RethinkDB, all rights reserved. >X #include <unistd.h> >X- >X+#include <stdarg.h> >X #include "logger.hpp" >X >X #include "extproc/extproc_worker.hpp" >X@@ -29,7 +29,7 @@ extproc_worker_t::extproc_worker_t(extpr >X >X extproc_worker_t::~extproc_worker_t() { >X if (worker_pid != -1) { >X- socket_stream.create(socket.get(), reinterpret_cast<fd_watcher_t*>(NULL)); >X+ socket_stream.create(socket.get(), static_cast<fd_watcher_t*>(NULL)); >X >X try { >X run_job(&worker_exit_fn); >X@@ -61,7 +61,7 @@ void extproc_worker_t::acquired(signal_t >X if (worker_pid == -1) { >X socket.reset(spawner->spawn(&socket_stream, &worker_pid)); >X } else { >X- socket_stream.create(socket.get(), reinterpret_cast<fd_watcher_t*>(NULL)); >X+ socket_stream.create(socket.get(), static_cast<fd_watcher_t*>(NULL)); >X } >X >X // Apply the user interruptor to our stream along with the extproc pool's interruptor >ffa2e9b7969d8442f971c2a337a170f4 >echo x - rethinkdb/files/patch-src_errors.hpp >sed 's/^X//' >rethinkdb/files/patch-src_errors.hpp << 'c3a4c5239fd880d176a40e370b192cc7' >X--- src/errors.hpp.orig 2015-09-04 12:50:37 UTC >X+++ src/errors.hpp >X@@ -7,7 +7,7 @@ >X #include <stdlib.h> >X >X #ifndef DISABLE_BREAKPOINTS >X-#ifdef __linux__ >X+#if defined __linux__ || defined __FreeBSD__ >X #if defined __i386 || defined __x86_64 >X #define BREAKPOINT __asm__ volatile ("int3") >X #else /* not x86/amd64 */ >c3a4c5239fd880d176a40e370b192cc7 >echo x - rethinkdb/files/patch-src_arch_io_timer_timer__signal__provider.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_io_timer_timer__signal__provider.cc << '4e7dc774eeb224aca8dd52fb9f22da31' >X--- src/arch/io/timer/timer_signal_provider.cc.orig 2015-01-29 04:30:55 UTC >X+++ src/arch/io/timer/timer_signal_provider.cc >X@@ -5,6 +5,7 @@ >X >X #include "arch/io/timer/timer_signal_provider.hpp" >X >X+#include <pthread_np.h> >X #include <signal.h> >X #include <sys/types.h> >X #include <time.h> >X@@ -17,7 +18,11 @@ >X >X // This *should* be a member of sigevent exposed by glibc, who the >X // heck knows why it isn't... >X+#ifdef __FreeBSD__ >X+#define sigev_notify_thread_id _sigev_un._threadid >X+#else >X #define sigev_notify_thread_id _sigev_un._tid >X+#endif >X >X void timer_signal_provider_signal_handler(UNUSED int signum, siginfo_t *siginfo, UNUSED void *uctx) { >X timer_signal_provider_t *provider = static_cast<timer_signal_provider_t *>(siginfo->si_value.sival_ptr); >X@@ -43,7 +48,11 @@ timer_signal_provider_t::timer_signal_pr >X bzero(&evp, sizeof(sigevent)); >X evp.sigev_signo = TIMER_NOTIFY_SIGNAL; >X evp.sigev_notify = SIGEV_THREAD_ID; >X+#ifdef __FreeBSD__ >X+ evp.sigev_notify_thread_id = pthread_getthreadid_np(); >X+#else >X evp.sigev_notify_thread_id = _gettid(); >X+#endif >X evp.sigev_value.sival_ptr = this; >X >X // Create the timer >4e7dc774eeb224aca8dd52fb9f22da31 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_runtime_runtime-i18n.cc >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_runtime_runtime-i18n.cc << '7fc794fde86e38d13abb36eaa40ba961' >X--- external/v8_3.30.33.16/src/runtime/runtime-i18n.cc.orig 2015-03-30 21:14:21 UTC >X+++ external/v8_3.30.33.16/src/runtime/runtime-i18n.cc >X@@ -626,7 +626,7 @@ RUNTIME_FUNCTION(Runtime_CreateBreakIter >X >X local_object->SetInternalField(0, reinterpret_cast<Smi*>(break_iterator)); >X // Make sure that the pointer to adopted text is NULL. >X- local_object->SetInternalField(1, reinterpret_cast<Smi*>(NULL)); >X+ local_object->SetInternalField(1, static_cast<Smi*>(NULL)); >X >X Factory* factory = isolate->factory(); >X Handle<String> key = factory->NewStringFromStaticChars("breakIterator"); >7fc794fde86e38d13abb36eaa40ba961 >echo x - rethinkdb/files/patch-src_arch_io_disk.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_io_disk.cc << '2531386c1f6eeec0f3f85afff0588756' >X--- src/arch/io/disk.cc.orig 2015-09-04 12:50:36 UTC >X+++ src/arch/io/disk.cc >X@@ -421,8 +421,10 @@ file_open_result_t open_file(const char >X // For now, we have a whitelist of kernels that don't support O_LARGEFILE. Linux is >X // the only known kernel that has (or may need) the O_LARGEFILE flag. >X #ifndef __MACH__ >X+#ifndef __FreeBSD__ >X flags |= O_LARGEFILE; >X #endif >X+#endif >X >X if ((mode & linux_file_t::mode_write) && (mode & linux_file_t::mode_read)) { >X flags |= O_RDWR; >X@@ -471,6 +473,8 @@ file_open_result_t open_file(const char >X static_cast<long>(flags | O_DIRECT)); // NOLINT(runtime/int) >X #elif defined(__APPLE__) >X const int fcntl_res = fcntl(fd.get(), F_NOCACHE, 1); >X+#elif defined(__FreeBSD__) >X+ const int fcntl_res = fcntl(fd.get(), F_SETFL, O_DIRECT); >X #else >X #error "Figure out how to do direct I/O and fsync correctly (despite your operating system's lies) on your platform." >X #endif // __linux__, defined(__APPLE__) >X@@ -561,7 +565,7 @@ int perform_datasync(fd_t fd) { >X // On OS X, we use F_FULLFSYNC because fsync lies. fdatasync is not available. On >X // Linux we just use fdatasync. >X >X-#ifdef __MACH__ >X+#if defined(__MACH__) >X >X int fcntl_res; >X do { >X@@ -570,6 +574,15 @@ int perform_datasync(fd_t fd) { >X >X return fcntl_res == -1 ? get_errno() : 0; >X >X+#elif defined(__FreeBSD__) >X+ >X+ int fcntl_res; >X+ do { >X+ fcntl_res = fsync(fd); >X+ } while (fcntl_res == -1 && get_errno() == EINTR); >X+ >X+ return fcntl_res == -1 ? get_errno() : 0; >X+ >X #else // __MACH__ >X >X int res = fdatasync(fd); >2531386c1f6eeec0f3f85afff0588756 >echo x - rethinkdb/files/extra-patch-config.mk-3 >sed 's/^X//' >rethinkdb/files/extra-patch-config.mk-3 << '41622cdcb7af2568b5a722a188619376' >X--- config.mk.orig 2015-09-17 21:33:33.752341000 +0200 >X+++ config.mk 2015-09-17 21:37:05.166472000 +0200 >X@@ -29,3 +29,5 @@ >X # stdlib >X-LDFLAGS += -lstdc++ >X+LDFLAGS += -lstdc++ -lexecinfo >X+CXXFLAGS += -I/usr/local/include >X+CFLAGS += -I/usr/local/include >X # C++11 >41622cdcb7af2568b5a722a188619376 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_debug.cc >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_debug.cc << 'bced4c3f50ae0730d41a5b9440932c48' >X--- external/v8_3.30.33.16/src/debug.cc.orig 2015-03-30 21:14:21 UTC >X+++ external/v8_3.30.33.16/src/debug.cc >X@@ -564,8 +564,7 @@ void Debug::ThreadInit() { >X thread_local_.step_into_fp_ = 0; >X thread_local_.step_out_fp_ = 0; >X // TODO(isolates): frames_are_dropped_? >X- base::NoBarrier_Store(&thread_local_.current_debug_scope_, >X- static_cast<base::AtomicWord>(NULL)); >X+ base::NoBarrier_Store(&thread_local_.current_debug_scope_,0); >X thread_local_.restarter_frame_function_pointer_ = NULL; >X } >X >bced4c3f50ae0730d41a5b9440932c48 >echo x - rethinkdb/files/patch-external_v8__3.30.33.16_src_d8.gyp >sed 's/^X//' >rethinkdb/files/patch-external_v8__3.30.33.16_src_d8.gyp << '32197bd72a22660e77e02ed95b6361c9' >X--- external/v8_3.30.33.16/src/d8.gyp.orig 2015-03-30 21:14:21 UTC >X+++ external/v8_3.30.33.16/src/d8.gyp >X@@ -125,7 +125,7 @@ >X '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', >X ], >X 'action': [ >X- 'python', >X+ 'python2.7', >X '../tools/js2c.py', >X '<@(_outputs)', >X 'D8', >32197bd72a22660e77e02ed95b6361c9 >echo x - rethinkdb/files/patch-src_logger.hpp >sed 's/^X//' >rethinkdb/files/patch-src_logger.hpp << '860ba49275ba63a25154787f827ffcd4' >X--- src/logger.hpp.orig 2015-09-25 17:54:57 UTC >X+++ src/logger.hpp >X@@ -2,6 +2,7 @@ >X #ifndef LOGGER_HPP_ >X #define LOGGER_HPP_ >X >X+#include <stdarg.h> >X #include <stdio.h> >X #include <string> >X >860ba49275ba63a25154787f827ffcd4 >echo x - rethinkdb/files/patch-src_arch_runtime_event__queue_poll.cc >sed 's/^X//' >rethinkdb/files/patch-src_arch_runtime_event__queue_poll.cc << 'cb9908d32f5189c6ebfb7f5c217742c7' >X--- src/arch/runtime/event_queue/poll.cc.orig 2015-09-25 17:59:56 UTC >X+++ src/arch/runtime/event_queue/poll.cc >X@@ -103,8 +103,8 @@ void poll_event_queue_t::run() { >X #ifndef RDB_TIMER_PROVIDER >X #error "RDB_TIMER_PROVIDER not defined." >X #elif RDB_TIMER_PROVIDER == RDB_TIMER_PROVIDER_SIGNAL >X- res = ppoll(&watched_fds[0], watched_fds.size(), NULL, &sigmask_restricted); >X-#else >X+/* res = ppoll(&watched_fds[0], watched_fds.size(), NULL, &sigmask_restricted); >X+#else */ >X res = poll(&watched_fds[0], watched_fds.size(), -1); >X #endif >X // ppoll might return with EINTR in some cases (in particular >cb9908d32f5189c6ebfb7f5c217742c7 >echo x - rethinkdb/files/patch-src_rdb__protocol_terms_arith.cc >sed 's/^X//' >rethinkdb/files/patch-src_rdb__protocol_terms_arith.cc << 'db8ac414f75e16b79f025b31aabdaf92' >X--- src/rdb_protocol/terms/arith.cc.orig 2015-09-25 18:27:01 UTC >X+++ src/rdb_protocol/terms/arith.cc >X@@ -173,7 +173,7 @@ public: >X private: >X virtual scoped_ptr_t<val_t> eval_impl( >X scope_env_t *env, args_t *args, eval_flags_t) const { >X- return new_val(datum_t(std::round(args->arg(env, 0)->as_num()))); >X+ return new_val(datum_t(round(args->arg(env, 0)->as_num()))); >X } >X >X virtual const char *name() const { return "round"; } >db8ac414f75e16b79f025b31aabdaf92 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 203043
:
160930
|
160942
|
160949
|
161007
|
161139
|
161162
|
161299
|
161302
|
161400
|
174373