[arch-commits] Commit in nodejs-lts-erbium/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Thu Jul 29 22:57:50 UTC 2021


    Date: Thursday, July 29, 2021 @ 22:57:50
  Author: archange
Revision: 990718

Actually fix tests failures being not linking to system libuv

Modified:
  nodejs-lts-erbium/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-29 22:48:45 UTC (rev 990717)
+++ PKGBUILD	2021-07-29 22:57:50 UTC (rev 990718)
@@ -3,7 +3,7 @@
 
 pkgname=nodejs-lts-erbium
 pkgver=12.22.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Evented I/O for V8 javascript (LTS release: Erbium)"
 arch=(x86_64)
 url="https://nodejs.org/"
@@ -14,9 +14,11 @@
 provides=("nodejs=$pkgver")
 conflicts=(nodejs)
 source=("${url}"/dist/v${pkgver}/node-v${pkgver}.tar.xz
+        nodejs-shared-libuv-uvwasi.patch::https://patch-diff.githubusercontent.com/raw/nodejs/node/pull/39260.patch
         python3.patch)
 # https://nodejs.org/download/release/latest-erbium/SHASUMS256.txt.asc
 sha256sums=(44cd4eab131e5282fc923e9e720d983a0b44c12e4aa4f6c3598dc97ae1e4cd4c
+            05692e382d71b5b92d5b86d513b9bb01750548630506ffe5b6f1920cbc5861bd
             20a0f718c94a4686dfc66edd994788759cbda65734cbc52082884f6d0913477d)
 validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins <mylesborins at google.com>
               77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock <gibfahn at gmail.com>
@@ -28,7 +30,8 @@
 
 prepare() {
   cd node-v${pkgver}
-  patch -Np1 -i ../python3.patch
+  patch -p1 < ../python3.patch
+  patch -p1 < ../nodejs-shared-libuv-uvwasi.patch
 }
 
 build() {
@@ -52,8 +55,7 @@
 
 check() {
   cd node-v${pkgver}
-  # Currently one failure with libuv 1.42+ because EOVERFLOW is now mapped
-  make test-only || echo "Tests failed"
+  make test-only
 }
 
 package() {



More information about the arch-commits mailing list