unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44977] [PATCH] gnu: bc: Fix readline support.
@ 2020-12-01  1:21 dftxbs3e
  2020-12-01  1:31 ` dftxbs3e
  2020-12-01  1:39 ` bug#44977: " Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 2 replies; 3+ messages in thread
From: dftxbs3e @ 2020-12-01  1:21 UTC (permalink / raw)
  To: 44977

[-- 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#44977] [PATCH] gnu: bc: Fix readline support.
  2020-12-01  1:21 [bug#44977] [PATCH] gnu: bc: Fix readline support dftxbs3e
@ 2020-12-01  1:31 ` dftxbs3e
  2020-12-01  1:39 ` bug#44977: " Tobias Geerinckx-Rice via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: dftxbs3e @ 2020-12-01  1:31 UTC (permalink / raw)
  To: 44977

[-- Attachment #1: Type: text/plain, Size: 18 bytes --]

Fix typo in path.

[-- Attachment #2: 0001-gnu-bc-Fix-readline-support.patch --]
[-- Type: text/x-patch, Size: 1021 bytes --]

From ba427730bb61e7d8270a3c71ce36f631d8227bbd 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/algebra.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#44977: gnu: bc: Fix readline support.
  2020-12-01  1:21 [bug#44977] [PATCH] gnu: bc: Fix readline support dftxbs3e
  2020-12-01  1:31 ` dftxbs3e
@ 2020-12-01  1:39 ` Tobias Geerinckx-Rice via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-12-01  1:39 UTC (permalink / raw)
  To: 44977-done

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

Pushed as e76867e285710d06b319145e0acdb6208e1af811.

Thanks!

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-01  1:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-01  1:21 [bug#44977] [PATCH] gnu: bc: Fix readline support dftxbs3e
2020-12-01  1:31 ` dftxbs3e
2020-12-01  1:39 ` bug#44977: " Tobias Geerinckx-Rice via Guix-patches via

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).