aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs
diff options
context:
space:
mode:
Diffstat (limited to 'main/nodejs')
-rw-r--r--main/nodejs/APKBUILD12
-rw-r--r--main/nodejs/fix-arm.patch12
2 files changed, 20 insertions, 4 deletions
diff --git a/main/nodejs/APKBUILD b/main/nodejs/APKBUILD
index 071c6c3306..a868901a9a 100644
--- a/main/nodejs/APKBUILD
+++ b/main/nodejs/APKBUILD
@@ -10,7 +10,8 @@ license='MIT'
makedepends="$depends_dev python openssl-dev zlib-dev libuv-dev c-ares-dev \
paxmark libuv-dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz"
+source="http://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz
+ fix-arm.patch"
_builddir="$srcdir"/node-v$pkgver
prepare() {
@@ -47,6 +48,9 @@ package() {
done
}
-md5sums="5523ec4347d7fe6b0f6dda1d1c7799d5 node-v0.12.7.tar.gz"
-sha256sums="b23d64df051c9c969b0c583f802d5d71de342e53067127a5061415be7e12f39d node-v0.12.7.tar.gz"
-sha512sums="0c9cb7542530463e7703435c8d819949785c1c6497c6d98f9854ca615fe33a62f451833e856f0159b836a698b4dee5d165fa505bad5d474f664e1533090d8606 node-v0.12.7.tar.gz"
+md5sums="5523ec4347d7fe6b0f6dda1d1c7799d5 node-v0.12.7.tar.gz
+eaacb9e2721ec0b7cd5dbeac0638ded9 fix-arm.patch"
+sha256sums="b23d64df051c9c969b0c583f802d5d71de342e53067127a5061415be7e12f39d node-v0.12.7.tar.gz
+a08b9a7ab9ec5656decc4d76efba605ca57bd0f1aba1a7458bd3ce19c7a7d154 fix-arm.patch"
+sha512sums="0c9cb7542530463e7703435c8d819949785c1c6497c6d98f9854ca615fe33a62f451833e856f0159b836a698b4dee5d165fa505bad5d474f664e1533090d8606 node-v0.12.7.tar.gz
+488ca5bbb26ae91740f14966f0f72d3e5294dddc4102a5b2c78e55c3baa42d02cdcd9537cb12799860ee25aac504f8130ed136e4a90c35b6f5452e3c13e56738 fix-arm.patch"
diff --git a/main/nodejs/fix-arm.patch b/main/nodejs/fix-arm.patch
new file mode 100644
index 0000000000..5054265d7f
--- /dev/null
+++ b/main/nodejs/fix-arm.patch
@@ -0,0 +1,12 @@
+--- node-v0.12.7/deps/v8/src/base/atomicops_internals_arm_gcc.h.orig
++++ node-v0.12.7/deps/v8/src/base/atomicops_internals_arm_gcc.h
+@@ -63,7 +63,7 @@
+ defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || \
+ defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || \
+ defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || \
+- defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6T2__)
++ defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__)
+
+ inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
+ Atomic32 old_value,
+