From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8IoQKVFdPWScyQAASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 16:53:05 +0200 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +F8QKVFdPWSJPgAA9RJhRA (envelope-from ) for ; Mon, 17 Apr 2023 16:53:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 4AFA76075 for ; Mon, 17 Apr 2023 16:53:05 +0200 (CEST) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=of2rpe6z; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fsfe.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681743185; a=rsa-sha256; cv=none; b=QjiGTjr1OGxOKvnS74W9NmLsuS+odjPMtOpK68CLOMZU6gqgpmdpkLkDomPHv2FXotLdcs OcAM+lNyi5UI9V430kFEeeEJaPyumKF+ejzxru4VVvQ6YAAIBfd+J6Sf9suFxs7KXf5lIw LXASFclTk46/oUNiS/oBO4W05LYmCz65iopZn1wKv1lv0wFRaKof6UT078PUUECFJxn7pq 5+mcZizFikuLFmVNQSqhPSsapcGj9nLn4ZdMSEaVt8gQp/QRHOAO/Nv0Qda66+L/hZHfOS feSRezsmVWJw7orkM3xFYNIG8ufXH9IkMZGq4dpX0L0qUUJiL1K0kmjNc5qinA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=of2rpe6z; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fsfe.org (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681743185; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bAbq506rpawc+IhDM6NgZuDAPWVA4w1ZAzJATKWs3jU=; b=WPVNQf1oIRD2pgsceLuFVpM4h80MbXhU2up3jPgI1uhT6a5thoAx1kAn+8kVwPu9MAlzed /BkTZZ0OUYgB3JWZvTrUnYSZt2dwKSVHEVktl1bbU/0z+ZSI0z/dmAXOUDa5z94xJRKszf mip0oO1p1WKV+4j3R8hFNfgHpFjg8Hoxxnshkos1K0SgZleBksHf6raxDArnhbptv/3lll pcVaGPnl1PTQF3EvHwYU4bgMgJeB72gctXPxr+oTqPvX4q6jvQYc82ogpwoVWQdDboyeil hpE/n3gstxOQIbZ7G70nAl3X1zCkNaq09ROeHnrh8XKC45U5huiqWOMCKc3DgQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poQDC-0003a2-SP; Mon, 17 Apr 2023 10:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poQDB-0003Ya-Nw for guix-patches@gnu.org; Mon, 17 Apr 2023 10:52:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poQDB-0005SL-2V for guix-patches@gnu.org; Mon, 17 Apr 2023 10:52:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poQDA-00006c-V7 for guix-patches@gnu.org; Mon, 17 Apr 2023 10:52:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59188] [PATCH v7 15/20] gnu: node-openzwave-shared: Fix compilation for new versions of node Resent-From: jlicht@fsfe.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Apr 2023 14:52:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59188 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59188@debbugs.gnu.org Cc: Jelle Licht Received: via spool by 59188-submit@debbugs.gnu.org id=B59188.168174311432700 (code B ref 59188); Mon, 17 Apr 2023 14:52:08 +0000 Received: (at 59188) by debbugs.gnu.org; 17 Apr 2023 14:51:54 +0000 Received: from localhost ([127.0.0.1]:55677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQCw-0008VG-EC for submit@debbugs.gnu.org; Mon, 17 Apr 2023 10:51:54 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:58904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poQCh-0008Tm-S9 for 59188@debbugs.gnu.org; Mon, 17 Apr 2023 10:51:40 -0400 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1681743099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bAbq506rpawc+IhDM6NgZuDAPWVA4w1ZAzJATKWs3jU=; b=of2rpe6zPerRh9va9mZqaKhSG7NebdLVliuiueqKofqzjCKI3SeQ7KPXkS4MmOzAzgNaQ6 XYIYZMl1xrtOkhqaLTF0Oo6MHDnKzAAamdGym+YCKwkk4Swqvl0Gm42VYUKF6Xm6HYtquc JgfyJmOTLGjK+/MjEdNP+tS29cnJ9+M= Date: Mon, 17 Apr 2023 16:51:17 +0200 Message-Id: <90996e0ab7b395edc0e223a32a1394ea2d4311f4.1681742871.git.jlicht@fsfe.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.61 X-Spam-Score: -0.61 X-Migadu-Queue-Id: 4AFA76075 X-Migadu-Scanner: scn1.migadu.com X-TUID: JtXu7jxlsPOV From: Jelle Licht * gnu/packages/zwave.scm (node-openzwave-shared)[arguments]<#:phases>: Add patch-compiler phase to allow compilation with node versions 16 and up. --- (no changes since v1) gnu/packages/zwave.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/zwave.scm b/gnu/packages/zwave.scm index 3e99bd7687..a30199ec02 100644 --- a/gnu/packages/zwave.scm +++ b/gnu/packages/zwave.scm @@ -112,6 +112,11 @@ (define-public node-openzwave-shared (arguments `(#:phases (modify-phases %standard-phases + (add-before 'build 'patch-compiler + (lambda _ + (substitute* "binding.gyp" + (("std=c\\+\\+11") + "std=c++17")))) (replace 'build ;; For some reason, `npm install` doesn't build ;; the addon automatically, so we do it explicitly here. -- 2.39.2