1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

www/node: Update 17.0.0_1 -> 17.0.1

https://nodejs.org/en/blog/release/v17.0.1/

While here, update pkg-plist to allow building with the BUNDLED_SSL
option enabled, and add the patch from PR 259454 to fix the build on
i386.

PR:		259454, 259377
MFH:		2021Q4
Sponsored by:	Miles AS
This commit is contained in:
Bradley T. Hughes 2021-10-24 18:09:51 +00:00
parent 088999b5b4
commit 8de43db277
No known key found for this signature in database
GPG Key ID: B12E03CA55A31C15
4 changed files with 2461 additions and 23 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= node
DISTVERSIONPREFIX= v
DISTVERSION= 17.0.0
PORTREVISION= 1
DISTVERSION= 17.0.1
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${DISTVERSION}/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1634856195
SHA256 (node-v17.0.0.tar.gz) = bcac24b990be48e6d1fead0726cd395b48b0dd05d030396ddac94b628aa03f2f
SIZE (node-v17.0.0.tar.gz) = 80774539
TIMESTAMP = 1634996580
SHA256 (node-v17.0.1.tar.gz) = f06242a7958b89f1bc3c7070af1ff5e477a9d3b76d2348456617f87e8f4f6988
SIZE (node-v17.0.1.tar.gz) = 80778702

View File

@ -0,0 +1,29 @@
--- deps/openssl/openssl/crypto/threads_pthread.c.orig 2021-10-27 15:57:20 UTC
+++ deps/openssl/openssl/crypto/threads_pthread.c
@@ -188,7 +188,7 @@ int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPT
int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock)
{
-# if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL)
+# if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL) && !defined(__i386__)
if (__atomic_is_lock_free(sizeof(*val), val)) {
*ret = __atomic_add_fetch(val, amount, __ATOMIC_ACQ_REL);
return 1;
@@ -215,7 +215,7 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret,
int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint64_t *ret,
CRYPTO_RWLOCK *lock)
{
-# if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL)
+# if defined(__GNUC__) && defined(__ATOMIC_ACQ_REL) && !defined(__i386__)
if (__atomic_is_lock_free(sizeof(*val), val)) {
*ret = __atomic_or_fetch(val, op, __ATOMIC_ACQ_REL);
return 1;
@@ -240,7 +240,7 @@ int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint6
int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock)
{
-# if defined(__GNUC__) && defined(__ATOMIC_ACQUIRE)
+# if defined(__GNUC__) && defined(__ATOMIC_ACQUIRE) && !defined(__i386__)
if (__atomic_is_lock_free(sizeof(*val), val)) {
__atomic_load(val, ret, __ATOMIC_ACQUIRE);
return 1;

File diff suppressed because it is too large Load Diff