pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   kamil
Date:           Thu Sep 12 16:04:07 UTC 2019

Modified Files:
        pkgsrc/lang/nodejs: distinfo
Added Files:
        pkgsrc/lang/nodejs/patches: patch-configure.py

Log Message:
nodejs: Fix build with Clang 10+


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/nodejs/patches/patch-configure.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.153 pkgsrc/lang/nodejs/distinfo:1.154
--- pkgsrc/lang/nodejs/distinfo:1.153   Fri Aug 16 15:18:16 2019
+++ pkgsrc/lang/nodejs/distinfo Thu Sep 12 16:04:07 2019
@@ -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

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-configure.py
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-configure.py:1.1
--- /dev/null   Thu Sep 12 16:04:07 2019
+++ pkgsrc/lang/nodejs/patches/patch-configure.py       Thu Sep 12 16:04:07 2019
@@ -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