From patchwork Sat Oct 31 14:33:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 538651 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id A0F3F14136D for ; Sun, 1 Nov 2015 01:34:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=WlXF/dNB; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 30C922E084; Sat, 31 Oct 2015 14:34:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RlEx3-Zt88Ot; Sat, 31 Oct 2015 14:34:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9B42E27A64; Sat, 31 Oct 2015 14:34:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1E7711C11FD for ; Sat, 31 Oct 2015 14:34:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 15ECF87DF6 for ; Sat, 31 Oct 2015 14:34:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LjQiiXeBX16K for ; Sat, 31 Oct 2015 14:34:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by whitealder.osuosl.org (Postfix) with ESMTPS id 05D7B87DAE for ; Sat, 31 Oct 2015 14:34:02 +0000 (UTC) Received: by wmff134 with SMTP id f134so30403121wmf.0 for ; Sat, 31 Oct 2015 07:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=9wABdfzPJz+fkQGZhFlhz1Pbf2ng+cr8FmN6gJ2TdTk=; b=WlXF/dNB+GQokkZ1mEC7eFwKy5t4xp7ZcJ1237177X/H37vatBOjB+WxUSmUlAWrgh p04HQkfXivLY4cBZtc/klP5YSwRo1WGisBxeCALAzhJoWRpD54P1wsApemOECJ1YehlR 4raO1elfFOdNdcbFQTYRsLW1mqlNSexcnARmAWBPmTf5xrply8LW7ylNMpdvazujflGB RfI9Oq1Lz2E7sqjwCvze9hP36LBaS2Kd29UkYFSg+dSNPCXPV9xsZejLfHODMcNFBrj4 MoJje8aR1jRvFMbNkef1jJPtX/b4cjeTDDQ3OUU70opjFi8Uxd7skCjPlxaJ3mK2aqAe J32A== X-Received: by 10.28.18.194 with SMTP id 185mr3645091wms.44.1446302040418; Sat, 31 Oct 2015 07:34:00 -0700 (PDT) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id l186sm8149438wmg.19.2015.10.31.07.33.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Oct 2015 07:33:59 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 31 Oct 2015 15:33:55 +0100 Message-Id: <1446302035-22083-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH] package/nodejs: more python3 fixes X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" nodejs' build system can not work with python3. Complement the existing patch to use a variable instead of hard-coding python. Fixes: http://autobuild.buildroot.org/results/406/406291bf7c61a80ed4a8d14d9a3887f51a1b2254/ http://autobuild.buildroot.org/results/ff9/ff97f452b875d8b1fb78561609742a233b80e0d3/ http://autobuild.buildroot.org/results/7ad/7adb96b45cb539c46940908d4ce9ca78b6a84d81/ ... Signed-off-by: "Yann E. MORIN" --- ...e-a-python-variable-instead-of-hardcoding-Python.patch | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/package/nodejs/4.1.2/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch b/package/nodejs/4.1.2/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch index 2e266af..3104644 100644 --- a/package/nodejs/4.1.2/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch +++ b/package/nodejs/4.1.2/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch @@ -14,7 +14,7 @@ the nodejs build system. Signed-off-by: Thomas Petazzoni [Martin: adapt to 0.12.5] Signed-off-by: Martin Bark -[yann.morin.1998@free.fr: adapat to 4.1.2] +[yann.morin.1998@free.fr: adapt to 4.1.2] Signed-off-by: "Yann E. MORIN" --- deps/v8/tools/gyp/v8.gyp | 8 ++++---- @@ -86,3 +86,16 @@ index c703155..06c0b2b 100644 '../../tools/gen-postmortem-metadata.py', '<@(_outputs)', '<@(heapobject_files)' +diff --git a/deps/v8/build/toolchain.gypi b/deps/v8/build/toolchain.gypi +index c703155..06c0b2b 100644 +--- a/deps/v8/build/toolchain.gypi ++++ b/deps/v8/build/toolchain.gypi +@@ -38,7 +38,7 @@ + 'ubsan%': 0, + 'ubsan_vptr%': 0, + 'v8_target_arch%': '<(target_arch)', +- 'v8_host_byteorder%': '