pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/nodejs nodejs: Fix build with Clang 10+
details: https://anonhg.NetBSD.org/pkgsrc/rev/e02b00f1bad1
branches: trunk
changeset: 401154:e02b00f1bad1
user: kamil <kamil%pkgsrc.org@localhost>
date: Thu Sep 12 16:04:07 2019 +0000
description:
nodejs: Fix build with Clang 10+
diffstat:
lang/nodejs/distinfo | 3 ++-
lang/nodejs/patches/patch-configure.py | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 9839e9552dab -r e02b00f1bad1 lang/nodejs/distinfo
--- a/lang/nodejs/distinfo Thu Sep 12 15:56:43 2019 +0000
+++ b/lang/nodejs/distinfo Thu Sep 12 16:04:07 2019 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.153 2019/08/16 15:18:16 adam Exp $
+$NetBSD: distinfo,v 1.154 2019/09/12 16:04:07 kamil Exp $
SHA1 (node-v10.16.3.tar.gz) = 21ef023ff05eb3c328d08e9e6196fbba301add28
RMD160 (node-v10.16.3.tar.gz) = dfbd885f84180ae08ede0b5dfe6c64b644402aad
SHA512 (node-v10.16.3.tar.gz) = c3a95d8810599db8e9a17932c55ff57223cf9e66028e776088420023ab7ba393e9b60518a189fcab46ca2597d213f8a6414abba282a73c9501c294dbc7b041e6
Size (node-v10.16.3.tar.gz) = 45870800 bytes
SHA1 (patch-common.gypi) = de37949f38d9bd39a18b59d59ec74e528bd323ac
+SHA1 (patch-configure.py) = 077e0b223d441d17495641d2e4048c8831a54393
SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
SHA1 (patch-deps_openssl_config_archs_linux-elf_asm_openssl-cl.gypi) = 12c91ca27ced24cabd714902fad9c9eb0ba40f9b
SHA1 (patch-deps_openssl_config_bn__conf__asm.h) = a4cf4f0771c96fb09a00b76b25d35000d65ef92f
diff -r 9839e9552dab -r e02b00f1bad1 lang/nodejs/patches/patch-configure.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs/patches/patch-configure.py Thu Sep 12 16:04:07 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-configure.py,v 1.1 2019/09/12 16:04:07 kamil Exp $
+
+Support Clang/LLVM 10+
+https://github.com/nodejs/node/issues/29536
+
+--- configure.py.orig 2019-08-15 19:20:03.000000000 +0000
++++ configure.py
+@@ -705,7 +705,7 @@ def get_nasm_version(asm):
+
+ def get_llvm_version(cc):
+ return get_version_helper(
+- cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([3-9]\.[0-9]+)")
++ cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ((\d{2}|[3-9])\.[0-9]+)")
+
+ def get_xcode_version(cc):
+ return get_version_helper(
Home |
Main Index |
Thread Index |
Old Index