[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59188] [PATCH v6 15/19] gnu: node-openzwave-shared: Fix compilation
From: |
jlicht |
Subject: |
[bug#59188] [PATCH v6 15/19] gnu: node-openzwave-shared: Fix compilation for new versions of node |
Date: |
Thu, 30 Mar 2023 14:31:46 +0200 |
From: Jelle Licht <jlicht@fsfe.org>
* 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
- [bug#59188] [PATCH v6 12/19] gnu: node-yazl: Ignore development dependencies., (continued)
- [bug#59188] [PATCH v6 12/19] gnu: node-yazl: Ignore development dependencies., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 19/19] gnu: libnode: Use node-lts as base., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 09/19] gnu: node-protocol-buffers-schema: Ignore development dependencies., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 06/19] gnu: node-crx3: Ignore development dependencies., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 07/19] gnu: node-minimist: Ignore development dependencies., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 13/19] gnu: node-uglify-js: Update to 3.14.2., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 16/19] gnu: libuv-for-node: Update to 1.44.2., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 04/19] gnu: node-acorn: Fix broken transpilation., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 05/19] gnu: node-buffer-crc32: Ignore development dependencies., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 08/19] gnu: node-pbf: Ignore development dependencies., jlicht, 2023/03/30
- [bug#59188] [PATCH v6 15/19] gnu: node-openzwave-shared: Fix compilation for new versions of node,
jlicht <=
- [bug#59188] [PATCH v6 17/19] gnu: llhttp-bootstrap: Update to 6.0.10., jlicht, 2023/03/30