diff options
| author | Sam James <sam@gentoo.org> | 2025-05-06 20:27:34 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-06 20:32:06 +0100 |
| commit | 8ee176dbe6fb61293b3b0ac57d859261e0ca902e (patch) | |
| tree | 08dbda928eb75de6235a9c7c37e5ee44ecfde6ee /dev-db/mongodb/files/mongodb-8.0.4-scons.patch | |
| parent | 07da7cbf83135a8830a1da146b594d4b2e615797 (diff) | |
| download | gentoo-8ee176dbe6fb61293b3b0ac57d859261e0ca902e.tar.gz gentoo-8ee176dbe6fb61293b3b0ac57d859261e0ca902e.tar.bz2 gentoo-8ee176dbe6fb61293b3b0ac57d859261e0ca902e.zip | |
dev-db/mongodb: move all patches to devspae
Wanted to do this after because the patches are a mess and having
some history for them is good.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/mongodb/files/mongodb-8.0.4-scons.patch')
| -rw-r--r-- | dev-db/mongodb/files/mongodb-8.0.4-scons.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-db/mongodb/files/mongodb-8.0.4-scons.patch b/dev-db/mongodb/files/mongodb-8.0.4-scons.patch deleted file mode 100644 index 3536cdf907aa..000000000000 --- a/dev-db/mongodb/files/mongodb-8.0.4-scons.patch +++ /dev/null @@ -1,40 +0,0 @@ -From bc8f2b53c1b99943e49f7bd42ee4d0e1bd8d4562 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fran=C3=A7ois=20Valenduc?= <francoisvalenduc@gmail.com> -Date: Mon, 28 Apr 2025 13:46:34 +0200 -Subject: [PATCH] add PATH backup for scons - -https://jira.mongodb.org/browse/SERVER-94430 Upstream respond: - -> we intentionally do not ingest the environment PATH as this makes build -> reproducibility and hermiticity much harder. Instead, you should set the -> absolute paths to the tools you want to use on the command line, instead of -> relying on the PATH. - -Gentoo bug https://bugs.gentoo.org/829340 - -In Gentoo, we have LLVM slotted and we put clang in /usr/lib/llvm/18/bin (or -whatever), not in /usr/bin, and if upstream strip PATH and construct it -themselves, they surely won't contain this location. - -So we add PATH backup for scons. - ---- - SConstruct | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/SConstruct b/SConstruct -index e9aa2ca0b16..2f04bc9b8f6 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1718,7 +1718,7 @@ envDict = dict( - if get_option('build-tools') == 'next': - SCons.Tool.DefaultToolpath.insert(0, os.path.abspath('site_scons/site_tools/next')) - --env = Environment(variables=env_vars, **envDict) -+env = Environment(variables=env_vars, ENV={'PATH': os.environ['PATH']}, **envDict) - del envDict - env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption') - --- -2.49.0 - |
