Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#6073 - bc package with readline

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Monday, 25 December 2006, 09:47 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 25 December 2006, 22:21 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please build bc package with readline support. It unusable without line editing ability!

use ./configure --prefix=/usr --with-readline

And small patch needed:

build-fix.patch:

diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
--- bc-1.06/bc/scan.l 2000-09-13 22:25:47 +0400
+++ bc-1.06.my/bc/scan.l 2006-12-25 12:39:34 +0300
@@ -143,7 +143,9 @@

/* Definitions for readline access. */
extern FILE *rl_instream;
+#if 0
_PROTOTYPE(char *readline, (char *));
+#endif

/* rl_input puts upto MAX characters into BUF with the number put in
BUF placed in *RESULT. If the yy input file is the same as


(I attach gzipped pkgbuild files)
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 27 March 2007, 16:57 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Monday, 25 December 2006, 10:09 GMT
possibly you should change 'flex -I8' to 'flex -I'
Comment by Sergej Pupykin (sergej) - Tuesday, 16 January 2007, 11:26 GMT
I add bc-readline package into community. I'll delete it after closing this bug.
Comment by Roman Kyrylych (Romashka) - Wednesday, 17 January 2007, 11:01 GMT
Another bugreport: http://bugs.archlinux.org/task/3460
It has PKGBUILD too.

Loading...