Created attachment 170243 [details] armv6 patch Hi, This patch allows www/node to build on armv6
build log: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/node-6.1.0.log
testbuild@work
Testbuild on 11.0-CURRENT r299220 arm.armv6 was sucessful.
The openssl patches surprise me. Why are they needed? I ask because the security/openssl port is the same version as the bundled version in node.js, but I don't see these kinds of armv6 patches there.
Created attachment 170390 [details] armv6 patch (In reply to Bradley T. Hughes from comment #4) The openssl patch is only needed if with build openssl with ASM on. It's not the case since openssl is built with --openssl-no-asm... I've attached a new patch without the openssl patch, it still compiles fine. Thanks for pointing this out.
The new patch looks almost identical to the original, with several patches to deps/openssl/* files. Is that right?
I removed the openssl patch, the only patches left are for the Makefile and deps/v8/src/*: +++ Makefile +++ files/patch-deps_v8_src_arm_cpu-arm.cc +++ files/patch-deps_v8_src_base_atomicops_internals_arm_gcc.h +++ files/patch-deps_v8_src_base_platform_platform-freebsd.cc +++ files/patch-deps_v8_src_profiler_sampler.cc
Yes, indeed, sorry about that. This looks good to me.
Comment on attachment 170390 [details] armv6 patch LGTM
testbuild on armv6 is ok
A commit references this bug: Author: pi Date: Thu May 19 05:24:48 UTC 2016 New revision: 415490 URL: https://svnweb.freebsd.org/changeset/ports/415490 Log: www/node: add armv6 support PR: 209481 Submitted by: mikael.urankar@gmail.com Approved by: bradleythughes@fastmail.fm (maintainer) Changes: head/www/node/Makefile head/www/node/files/patch-deps_v8_src_arm_cpu-arm.cc head/www/node/files/patch-deps_v8_src_base_atomicops_internals_arm_gcc.h head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc head/www/node/files/patch-deps_v8_src_profiler_sampler.cc
Thanks! :)
Committed, thanks!