summaryrefslogtreecommitdiff
path: root/www/node22/files/patch-common.gypi
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 14:13:28 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-16 14:21:47 +0800
commit067dacb0c6c942edc893c7ae8a943319b36b4310 (patch)
tree6f53c460f1f4f50a285d20cd3b86c0a0425ea7fb /www/node22/files/patch-common.gypi
parentwww/crawl: set MAINTAINER && remove DEPRECATED (diff)
www/node22: Add node22 22.0.0
Node.js is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
Diffstat (limited to 'www/node22/files/patch-common.gypi')
-rw-r--r--www/node22/files/patch-common.gypi20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/node22/files/patch-common.gypi b/www/node22/files/patch-common.gypi
new file mode 100644
index 000000000000..c1a1298912e1
--- /dev/null
+++ b/www/node22/files/patch-common.gypi
@@ -0,0 +1,20 @@
+--- common.gypi.orig 2023-07-20 18:27:37 UTC
++++ common.gypi
+@@ -426,7 +426,7 @@
+ 'ldflags': [ '-m32' ],
+ }],
+ [ 'host_arch=="ppc64" and OS not in "aix os400"', {
+- 'cflags': [ '-m64', '-mminimal-toc' ],
++ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ }],
+ [ 'host_arch=="s390x" and OS=="linux"', {
+@@ -450,7 +450,7 @@
+ 'ldflags': [ '-m32' ],
+ }],
+ [ 'target_arch=="ppc64" and OS not in "aix os400"', {
+- 'cflags': [ '-m64', '-mminimal-toc' ],
++ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ }],
+ [ 'target_arch=="s390x" and OS=="linux"', {