[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/19: gnu: node-openzwave-shared: Fix compilation for new versions of n
From: |
guix-commits |
Subject: |
15/19: gnu: node-openzwave-shared: Fix compilation for new versions of node |
Date: |
Sat, 6 May 2023 07:56:26 -0400 (EDT) |
jlicht pushed a commit to branch master
in repository guix.
commit f963ac4f63918507f7adec6590162d5c4b47c040
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Thu Mar 30 14:16:41 2023 +0200
gnu: node-openzwave-shared: Fix compilation for new versions of node
* gnu/packages/zwave.scm (node-openzwave-shared)[arguments]<#:phases>: Add
patch-compiler phase to allow compilation with node versions 16 and up.
---
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 @@ knowledge of the Z-Wave protocol.")
(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.
- branch master updated (c229937c6a -> 40d6615ca2), guix-commits, 2023/05/06
- 01/19: build-system: node: Use `--install-links' with `npm install'., guix-commits, 2023/05/06
- 09/19: gnu: node-protocol-buffers-schema: Ignore development dependencies., guix-commits, 2023/05/06
- 14/19: gnu: node-serialport: Avoid gyp rebuilds., guix-commits, 2023/05/06
- 08/19: gnu: node-pbf: Ignore development dependencies., guix-commits, 2023/05/06
- 04/19: gnu: node-acorn: Fix broken transpilation., guix-commits, 2023/05/06
- 07/19: gnu: node-minimist: Ignore development dependencies., guix-commits, 2023/05/06
- 12/19: gnu: node-yazl: Ignore development dependencies., guix-commits, 2023/05/06
- 15/19: gnu: node-openzwave-shared: Fix compilation for new versions of node,
guix-commits <=
- 05/19: gnu: node-buffer-crc32: Ignore development dependencies., guix-commits, 2023/05/06
- 13/19: gnu: node-uglify-js: Update to 3.14.2., guix-commits, 2023/05/06
- 06/19: gnu: node-crx3: Ignore development dependencies., guix-commits, 2023/05/06
- 11/19: gnu: node-ieee754: Ignore development dependencies., guix-commits, 2023/05/06
- 03/19: gnu: node-acorn: Remove lifecycle script., guix-commits, 2023/05/06
- 17/19: gnu: llhttp-bootstrap: Update to 6.0.10., guix-commits, 2023/05/06
- 02/19: gnu: node-acorn: Disable tests., guix-commits, 2023/05/06
- 16/19: gnu: emacs-nodejs-repl: Build with node-lts., guix-commits, 2023/05/06
- 19/19: gnu: libnode: Use node-lts as base., guix-commits, 2023/05/06
- 18/19: gnu: node-lts: Update to 18.16.0., guix-commits, 2023/05/06