aboutsummaryrefslogtreecommitdiff
path: root/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js')
-rw-r--r--www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js37
1 files changed, 15 insertions, 22 deletions
diff --git a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js
index 488a4adcbd28..83880f6f2aa0 100644
--- a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js
+++ b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js
@@ -1,6 +1,6 @@
---- yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js.orig 2024-01-25 21:40:25.773587000 +0100
-+++ yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js 2024-01-25 21:41:12.907517000 +0100
-@@ -99,12 +99,6 @@ function getConfigureArgs(major, targetPlatform) {
+--- yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js.orig 2025-10-18 21:16:20 UTC
++++ yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js
+@@ -100,12 +100,6 @@ function getConfigureArgs(major, targetPlatform, targetArch) {
if (targetPlatform === 'linuxstatic') {
args.push('--fully-static');
}
@@ -13,26 +13,19 @@
// production binaries do NOT take NODE_OPTIONS from end-users
args.push('--without-node-options');
// The dtrace and etw support was removed in https://github.com/nodejs/node/commit/aa3a572e6bee116cde69508dc29478b40f40551a
-@@ -115,7 +109,14 @@ function getConfigureArgs(major, targetPlatform) {
- // bundled npm package manager
+@@ -117,7 +111,14 @@ function getConfigureArgs(major, targetPlatform, targetArch) {
args.push('--without-npm');
// Small ICU
-- args.push('--with-intl=small-icu');
-+ args.push('--with-intl=system-icu');
-+ args.push('--shared-openssl');
-+ args.push('--openssl-use-def-ca-store');
-+ args.push('--shared-brotli');
-+ args.push('--shared-cares');
-+ args.push('--shared-libuv');
-+ args.push('--shared-nghttp2');
-+ args.push('--shared-zlib');
+ if (system_1.hostPlatform !== 'win' || major < 24) {
+- args.push('--with-intl=small-icu');
++ args.push('--with-intl=system-icu');
++ args.push('--shared-openssl');
++ args.push('--openssl-use-def-ca-store');
++ args.push('--shared-brotli');
++ args.push('--shared-cares');
++ args.push('--shared-libuv');
++ args.push('--shared-nghttp2');
++ args.push('--shared-zlib');
+ }
// Workaround for nodejs/node#39313
// All supported macOS versions have zlib as a system library
- if (targetPlatform === 'macos') {
-@@ -433,4 +434,4 @@ exports.default = build;
- });
- }
- exports.default = build;
--//# sourceMappingURL=build.js.map
-\ No newline at end of file
-+//# sourceMappingURL=build.js.map