diff options
author | Herman Rimm <herman@rimm.ee> | 2024-09-02 21:13:01 +0200 |
---|---|---|
committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-10-13 10:45:19 +0300 |
commit | 36c794c0ed058ee414cbb90c577f6ade5170470a (patch) | |
tree | 8bd2aebbdc1fd7bda2c7bb4cbfed9dfb2793dc34 /gnu/packages/patches/guile-ssh-rename-bool.patch | |
parent | e032a0f38ff3394816fdc29554933ce77c545eff (diff) | |
download | guix-36c794c0ed058ee414cbb90c577f6ade5170470a.tar.gz guix-36c794c0ed058ee414cbb90c577f6ade5170470a.zip |
guile-ssh: Update to 0.17.0 and use patch.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.17.0 and apply patch.
* gnu/packages/patches/guile-ssh-rename-bool.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Register patch.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
Change-Id: Iafb5630430ba122861b7e2fe2c76c84739b4e00f
Diffstat (limited to 'gnu/packages/patches/guile-ssh-rename-bool.patch')
-rw-r--r-- | gnu/packages/patches/guile-ssh-rename-bool.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/patches/guile-ssh-rename-bool.patch b/gnu/packages/patches/guile-ssh-rename-bool.patch new file mode 100644 index 0000000000..17697dacb2 --- /dev/null +++ b/gnu/packages/patches/guile-ssh-rename-bool.patch @@ -0,0 +1,40 @@ +From ad0af631250ce3399127d42995cc0bef6ad3ee5e Mon Sep 17 00:00:00 2001 +From: Herman Rimm <herman@rimm.ee> +Date: Sun, 18 Aug 2024 16:05:44 +0200 +Subject: [PATCH] libguile-ssh/session-func: Fix variable name + +* libguile-ssh/session-func.c (set_bool_opt): Rename bool to boolean. +--- + libguile-ssh/session-func.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/libguile-ssh/session-func.c b/libguile-ssh/session-func.c +index 7006b62..b379472 100644 +--- a/libguile-ssh/session-func.c ++++ b/libguile-ssh/session-func.c +@@ -228,18 +228,18 @@ set_int32_opt (ssh_session session, int type, SCM value) + return ssh_options_set (session, type, &c_value); + } + +-/* Convert VALUE to integer that represents a boolan value (0 ++/* Convert VALUE to integer that represents a boolean value (0 + considered as false, any other value is true), and pass it to + ssh_options_set */ + static inline int + set_bool_opt (ssh_session session, int type, SCM value) + { +- int32_t bool; ++ int32_t boolean; + + SCM_ASSERT (scm_is_bool (value), value, SCM_ARG3, "session-set!"); + +- bool = scm_to_bool (value); +- return ssh_options_set (session, type, &bool); ++ boolean = scm_to_bool (value); ++ return ssh_options_set (session, type, &boolean); + } + + /* Convert VALUE to a socket file descriptor and pass it to +-- +2.45.2 + |