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(+)
@@ -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