From owner-svn-ports-all@freebsd.org Sun May 13 20:30:05 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 149D6FD139A; Sun, 13 May 2018 20:30:05 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6AB97F902; Sun, 13 May 2018 20:30:04 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9968B124F2; Sun, 13 May 2018 20:30:04 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4DKU41k005328; Sun, 13 May 2018 20:30:04 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4DKU3Ik005322; Sun, 13 May 2018 20:30:03 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <201805132030.w4DKU3Ik005322@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Sun, 13 May 2018 20:30:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469828 - head/www/node/files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: head/www/node/files X-SVN-Commit-Revision: 469828 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2018 20:30:05 -0000 Author: bhughes Date: Sun May 13 20:30:03 2018 New Revision: 469828 URL: https://svnweb.freebsd.org/changeset/ports/469828 Log: www/node: fix build on i386 Add patch files missing from r469781, which ensure that the Node.js build on i386 falls back to the linux-elf OpenSSL config. PR: 228135 Reported by: Marcin Cieslak Added: head/www/node/files/patch-deps_openssl_config_archs_linux-elf_asm_openssl-cl.gypi (contents, props changed) head/www/node/files/patch-deps_openssl_config_archs_linux-elf_asm_openssl.gypi (contents, props changed) head/www/node/files/patch-deps_openssl_config_bn__conf__asm.h (contents, props changed) head/www/node/files/patch-deps_openssl_config_dso__conf__asm.h (contents, props changed) head/www/node/files/patch-deps_openssl_config_opensslconf__asm.h (contents, props changed) head/www/node/files/patch-deps_openssl_openssl__no__asm.gypi (contents, props changed) Added: head/www/node/files/patch-deps_openssl_config_archs_linux-elf_asm_openssl-cl.gypi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-deps_openssl_config_archs_linux-elf_asm_openssl-cl.gypi Sun May 13 20:30:03 2018 (r469828) @@ -0,0 +1,15 @@ +--- deps/openssl/config/archs/linux-elf/asm/openssl-cl.gypi.orig 2018-05-11 12:05:05 UTC ++++ deps/openssl/config/archs/linux-elf/asm/openssl-cl.gypi +@@ -26,10 +26,10 @@ + 'POLY1305_ASM', + ], + 'openssl_cflags_linux-elf': [ +- '-Wall -O3 -pthread -DL_ENDIAN -fomit-frame-pointer', ++ '-Wall -O3 -pthread -DL_ENDIAN', + ], + 'openssl_ex_libs_linux-elf': [ +- '-ldl -pthread', ++ '', + ], + 'openssl_cli_srcs_linux-elf': [ + 'openssl/apps/app_rand.c', Added: head/www/node/files/patch-deps_openssl_config_archs_linux-elf_asm_openssl.gypi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-deps_openssl_config_archs_linux-elf_asm_openssl.gypi Sun May 13 20:30:03 2018 (r469828) @@ -0,0 +1,15 @@ +--- deps/openssl/config/archs/linux-elf/asm/openssl.gypi.orig 2018-05-11 12:05:18 UTC ++++ deps/openssl/config/archs/linux-elf/asm/openssl.gypi +@@ -681,10 +681,10 @@ + 'POLY1305_ASM', + ], + 'openssl_cflags_linux-elf': [ +- '-Wall -O3 -pthread -DL_ENDIAN -fomit-frame-pointer', ++ '-Wall -O3 -pthread -DL_ENDIAN', + ], + 'openssl_ex_libs_linux-elf': [ +- '-ldl -pthread', ++ '', + ], + }, + 'include_dirs': [ Added: head/www/node/files/patch-deps_openssl_config_bn__conf__asm.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-deps_openssl_config_bn__conf__asm.h Sun May 13 20:30:03 2018 (r469828) @@ -0,0 +1,13 @@ +--- deps/openssl/config/bn_conf_asm.h.orig 2018-05-11 12:01:43 UTC ++++ deps/openssl/config/bn_conf_asm.h +@@ -21,8 +21,8 @@ + # include "./archs/VC-WIN32/asm/crypto/include/internal/bn_conf.h" + #elif defined(_WIN32) && defined(_M_X64) + # include "./archs/VC-WIN64A/asm/crypto/include/internal/bn_conf.h" +-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +-# include "./archs/BSD-x86/asm/crypto/include/internal/bn_conf.h" ++//#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) ++//# include "./archs/BSD-x86/asm/crypto/include/internal/bn_conf.h" + #elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) + # include "./archs/BSD-x86_64/asm/crypto/include/internal/bn_conf.h" + #elif defined(__sun) && defined(__i386__) Added: head/www/node/files/patch-deps_openssl_config_dso__conf__asm.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-deps_openssl_config_dso__conf__asm.h Sun May 13 20:30:03 2018 (r469828) @@ -0,0 +1,13 @@ +--- deps/openssl/config/dso_conf_asm.h.orig 2018-05-11 12:02:07 UTC ++++ deps/openssl/config/dso_conf_asm.h +@@ -21,8 +21,8 @@ + # include "./archs/VC-WIN32/asm/crypto/include/internal/dso_conf.h" + #elif defined(_WIN32) && defined(_M_X64) + # include "./archs/VC-WIN64A/asm/crypto/include/internal/dso_conf.h" +-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +-# include "./archs/BSD-x86/asm/crypto/include/internal/dso_conf.h" ++//#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) ++//# include "./archs/BSD-x86/asm/crypto/include/internal/dso_conf.h" + #elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) + # include "./archs/BSD-x86_64/asm/crypto/include/internal/dso_conf.h" + #elif defined(__sun) && defined(__i386__) Added: head/www/node/files/patch-deps_openssl_config_opensslconf__asm.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-deps_openssl_config_opensslconf__asm.h Sun May 13 20:30:03 2018 (r469828) @@ -0,0 +1,13 @@ +--- deps/openssl/config/opensslconf_asm.h.orig 2018-05-11 11:27:00 UTC ++++ deps/openssl/config/opensslconf_asm.h +@@ -108,8 +108,8 @@ + # include "./archs/VC-WIN32/asm/include/openssl/opensslconf.h" + #elif defined(_WIN32) && defined(_M_X64) + # include "./archs/VC-WIN64A/asm/include/openssl/opensslconf.h" +-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +-# include "./archs/BSD-x86/asm/include/openssl/opensslconf.h" ++//#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) ++//# include "./archs/BSD-x86/asm/include/openssl/opensslconf.h" + #elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) + # include "./archs/BSD-x86_64/asm/include/openssl/opensslconf.h" + #elif defined(__sun) && defined(__i386__) Added: head/www/node/files/patch-deps_openssl_openssl__no__asm.gypi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-deps_openssl_openssl__no__asm.gypi Sun May 13 20:30:03 2018 (r469828) @@ -0,0 +1,11 @@ +--- deps/openssl/openssl_no_asm.gypi.orig 2018-05-11 12:27:27 UTC ++++ deps/openssl/openssl_no_asm.gypi +@@ -42,7 +42,7 @@ + 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'], + }, { + # Other architectures don't use assembly +- 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'], ++ 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'], + }], + ], + }