diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index be2a5f59e..460a5114c 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -9,7 +9,6 @@ # ALARM: Kevin Mihelich # - set config and gyp flags -# - patch to link libatomic for v6 buildarch=28 @@ -23,18 +22,8 @@ license=('MIT') depends=('openssl' 'zlib' 'icu' 'libuv' 'c-ares' 'libnghttp2') # 'http-parser' 'v8') makedepends=('python' 'procps-ng') optdepends=('npm: nodejs package manager') -source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz" - 'atomic.patch') -sha512sums=('bee2ca82a4aa18cbeb0fbe1b798747a99ea9ee4d5376e06df54d7e0a7a2a98abef7db09dcfda69b8dbd1d2d8ec05af5233279cb57dcb31279aeb894dee0e1614' - '3d7378b80a9729f5dd5c6c7446531244a67bd6021ccf6feb270af2b698d9bd2ff3c6bf84f8d0a6eb3671c59ea920de8ec081cac0b705236b474b61427f5c1e39') - -prepare() { - cd node-$pkgver - - if [[ $CARCH == "armv6h" ]]; then - patch -p0 -i ../atomic.patch - fi -} +source=("nodejs-$pkgver.tar.gz::https://github.com/nodejs/node/archive/v$pkgver.tar.gz") +sha512sums=('bee2ca82a4aa18cbeb0fbe1b798747a99ea9ee4d5376e06df54d7e0a7a2a98abef7db09dcfda69b8dbd1d2d8ec05af5233279cb57dcb31279aeb894dee0e1614') build() { cd node-$pkgver diff --git a/community/nodejs/atomic.patch b/community/nodejs/atomic.patch deleted file mode 100644 index 11b96ed4c..000000000 --- a/community/nodejs/atomic.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- node.gyp.orig 2019-10-14 05:32:27.370777519 -0600 -+++ node.gyp 2019-10-14 05:39:18.842470025 -0600 -@@ -314,6 +314,12 @@ - 'deps/v8/include' - ], - -+ 'link_settings': { -+ 'libraries': [ -+ '-latomic', -+ ], -+ }, -+ - 'sources': [ - 'src/node_main.cc' - ], ---- tools/v8_gypfiles/v8.gyp.orig 2019-10-14 05:32:59.750753410 -0600 -+++ tools/v8_gypfiles/v8.gyp 2019-10-14 05:39:18.842470025 -0600 -@@ -795,7 +795,7 @@ - }], - # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library - # to implement atomic memory access -- ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc"]', { -+ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm"]', { - 'link_settings': { - 'libraries': ['-latomic', ], - },