This is an automated email from the git hooks/post-receive script. efraim pushed a commit to branch master in repository guix.
The following commit(s) were added to refs/heads/master by this push: new 3ad3869297 gnu: rkdeveloptool: Fix build failure. 3ad3869297 is described below commit 3ad3869297fd327ef417b1ecb95c2c4caf53d2e6 Author: Efraim Flashner <efr...@flashner.co.il> AuthorDate: Thu Dec 15 12:29:12 2022 +0200 gnu: rkdeveloptool: Fix build failure. This change was tested against a Pinebook Pro. * gnu/packages/hardware.scm (rkdeveloptool)[source]: Add snippet to fix build errors based on upstream pull request. --- gnu/packages/hardware.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 65558ffe08..1b8ba9bc43 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2022 Marius Bakke <mar...@gnu.org> ;;; Copyright © 2022 Marcel Kupiec <for...@protonmail.com> ;;; Copyright © 2022 Maxim Cournoyer <maxim.courno...@gmail.com> +;;; Copyright © 2022 Efraim Flashner <efr...@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1132,7 +1133,14 @@ supported by the Linux kernel.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0zwrkqfxd671iy69v3q0844gfdpm1yk51i9qh2rqc969bd8glxga")))) + (base32 "0zwrkqfxd671iy69v3q0844gfdpm1yk51i9qh2rqc969bd8glxga")) + (snippet + #~(begin + ;; https://github.com/rockchip-linux/rkdeveloptool/pull/57 + (use-modules (guix build utils)) + (substitute* "main.cpp" + (("snprintf\\(buffer, sizeof\\(buffer\\), \"\\%s\", chip)") + "memccpy(buffer, chip, '\\0', sizeof(buffer))")))))) (build-system gnu-build-system) (native-inputs (list autoconf automake pkg-config))