diff options
Diffstat (limited to 'databases/mongodb70/files')
-rw-r--r-- | databases/mongodb70/files/patch-SConstruct | 10 | ||||
-rw-r--r-- | databases/mongodb70/files/patch-src_third__party_mozjs_gen-config.sh | 16 |
2 files changed, 15 insertions, 11 deletions
diff --git a/databases/mongodb70/files/patch-SConstruct b/databases/mongodb70/files/patch-SConstruct index 4ccd299adcaf..ec60029c937c 100644 --- a/databases/mongodb70/files/patch-SConstruct +++ b/databases/mongodb70/files/patch-SConstruct @@ -1,4 +1,4 @@ ---- SConstruct.orig 2024-06-19 03:26:19 UTC +--- SConstruct.orig 2025-05-13 16:37:03 UTC +++ SConstruct @@ -23,7 +23,6 @@ import SCons.Script @@ -25,9 +25,7 @@ if get_option('build-metrics'): env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR' env.Tool('build_metrics') -@@ -1799,9 +1788,9 @@ if has_option('variables-help'): - print(env_vars.GenerateHelpText(env)) - Exit(0) +@@ -1801,7 +1790,7 @@ if unknown_vars: unknown_vars = env_vars.UnknownVariables() if unknown_vars: @@ -36,7 +34,7 @@ install_actions.setup(env, get_option('install-action')) -@@ -3024,7 +3013,7 @@ if env.TargetOSIs('posix'): +@@ -3013,7 +3002,7 @@ if env.TargetOSIs('posix'): # If runtime hardening is requested, then build anything # destined for an executable with the necessary flags for PIE. env.AppendUnique( @@ -45,7 +43,7 @@ PROGLINKFLAGS=['-pie'], ) -@@ -3032,7 +3021,6 @@ if env.TargetOSIs('posix'): +@@ -3021,7 +3010,6 @@ if env.TargetOSIs('posix'): env.Append( CCFLAGS=[ "-fasynchronous-unwind-tables", diff --git a/databases/mongodb70/files/patch-src_third__party_mozjs_gen-config.sh b/databases/mongodb70/files/patch-src_third__party_mozjs_gen-config.sh index 58daab4bc056..4260904915e4 100644 --- a/databases/mongodb70/files/patch-src_third__party_mozjs_gen-config.sh +++ b/databases/mongodb70/files/patch-src_third__party_mozjs_gen-config.sh @@ -1,5 +1,11 @@ ---- src/third_party/mozjs/gen-config.sh.orig 2022-08-05 16:21:29 UTC +--- src/third_party/mozjs/gen-config.sh.orig 2025-05-13 16:37:03 UTC +++ src/third_party/mozjs/gen-config.sh +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + set -e + set -v @@ -29,6 +29,9 @@ case "$_Path" in } @@ -10,16 +16,16 @@ "platform/aarch64/linux") _CONFIG_OPTS="--host=aarch64-linux" ;; -@@ -108,7 +111,7 @@ CFLAGS="$CFLAGS -D__STDC_FORMAT_MACROS" \ - --disable-js-shell \ - --disable-tests "$_CONFIG_OPTS" +@@ -111,7 +114,7 @@ CFLAGS="$CFLAGS -D__STDC_FORMAT_MACROS" \ + --disable-wasm-moz-intgemm \ + "$_CONFIG_OPTS" -make recurse_export +gmake recurse_export cd ../../../.. -@@ -159,7 +162,7 @@ find "$_Path/build" -name '*.cpp' | +@@ -166,7 +169,7 @@ find "$_Path/build" -name '*.cpp' | find "$_Path/build" -name '*.cpp' | while read unified_file ; do echo "Processing $unified_file" |