git: 7d739f978594 - main - www/node10: unbreak (restore a deleted patch)

Antoine Brodin antoine at FreeBSD.org
Sun Oct 3 08:07:55 UTC 2021


The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d739f978594b81db2d1701db8e27579027d9d7a

commit 7d739f978594b81db2d1701db8e27579027d9d7a
Author:     Antoine Brodin <antoine at FreeBSD.org>
AuthorDate: 2021-10-03 08:07:33 +0000
Commit:     Antoine Brodin <antoine at FreeBSD.org>
CommitDate: 2021-10-03 08:07:33 +0000

    www/node10: unbreak (restore a deleted patch)
---
 www/node10/files/patch-common.gypi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/www/node10/files/patch-common.gypi b/www/node10/files/patch-common.gypi
new file mode 100644
index 000000000000..a2b67b90d25a
--- /dev/null
+++ b/www/node10/files/patch-common.gypi
@@ -0,0 +1,18 @@
+--- common.gypi.orig	2021-01-04 14:30:16 UTC
++++ common.gypi
+@@ -512,15 +512,6 @@
+         'libraries': [ '-lelf' ],
+       }],
+       ['OS=="freebsd"', {
+-        'conditions': [
+-          ['"0" < llvm_version < "4.0"', {
+-            # Use this flag because on FreeBSD std::pairs copy constructor is non-trivial.
+-            # Doesn't apply to llvm 4.0 (FreeBSD 11.1) or later.
+-            # Refs: https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.html
+-            # Refs: https://svnweb.freebsd.org/ports/head/www/node/Makefile?revision=444555&view=markup
+-            'cflags': [ '-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1' ],
+-          }],
+-        ],
+         'ldflags': [
+           '-Wl,--export-dynamic',
+         ],


More information about the dev-commits-ports-all mailing list