git: 3aa2ec732bc1 - 2023Q4 - www/node18: update patch for powerpc64*

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 16 Oct 2023 21:36:36 UTC
The branch 2023Q4 has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3aa2ec732bc173eb8793e9fdbfe46d9277348539

commit 3aa2ec732bc173eb8793e9fdbfe46d9277348539
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-10-06 17:22:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 21:28:38 +0000

    www/node18: update patch for powerpc64*
    
    (cherry picked from commit d7c8a861773734aca75a6822691afa472b950b75)
---
 www/node18/files/extra-patch-common.gypi | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/www/node18/files/extra-patch-common.gypi b/www/node18/files/extra-patch-common.gypi
index 02db35b1a46c..0f921bf14c8a 100644
--- a/www/node18/files/extra-patch-common.gypi
+++ b/www/node18/files/extra-patch-common.gypi
@@ -1,11 +1,20 @@
---- common.gypi.orig	2023-04-12 04:09:10 UTC
+--- common.gypi.orig	2023-09-18 05:18:10 UTC
 +++ common.gypi
 @@ -426,7 +426,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"', {
+                 '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"', {