From: dftxbs3e <dftxbs3e@free.fr>
To: 44977@debbugs.gnu.org
Subject: [bug#44977] [PATCH] gnu: bc: Fix readline support.
Date: Tue, 01 Dec 2020 02:21:44 +0100 [thread overview]
Message-ID: <60731725a08a956c8f8128eb1c26baa526ff4671.camel@free.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 121 bytes --]
Hello!
Someone on IRC complained they could not use arrow keys in GNU Guix's
bc, turns out there was a bug.
Thank you!
[-- Attachment #2: 0001-gnu-bc-Fix-readline-support.patch --]
[-- Type: text/x-patch, Size: 1021 bytes --]
From 85566761f612330be749e05f15eda6e62b8891c8 Mon Sep 17 00:00:00 2001
From: John Doe <dftxbs3e@free.fr>
Date: Tue, 1 Dec 2020 02:15:20 +0100
Subject: [PATCH] gnu: bc: Fix readline support.
--with-readline is given to configure but there's no readline input
present so it is not effective. Probably bc's configure should fail when
that is the case but that's another story.
* gnu/packages/albegra.scm (bc)[inputs]: Add readline.
---
gnu/packages/algebra.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 5b391449a0..ea2ec6f1ef 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -710,6 +710,8 @@ binary.")
"0amh9ik44jfg66csyvf4zz1l878c4755kjndq9j0270akflgrbb2"))
(patches (search-patches "bc-fix-cross-compilation.patch"))))
(build-system gnu-build-system)
+ (inputs
+ `(("readline" ,readline)))
(native-inputs
`(("automake" ,automake)
("autoconf" ,autoconf)
--
2.28.0
next reply other threads:[~2020-12-01 1:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-01 1:21 dftxbs3e [this message]
2020-12-01 1:31 ` [bug#44977] [PATCH] gnu: bc: Fix readline support dftxbs3e
2020-12-01 1:39 ` bug#44977: " Tobias Geerinckx-Rice via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60731725a08a956c8f8128eb1c26baa526ff4671.camel@free.fr \
--to=dftxbs3e@free.fr \
--cc=44977@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).