Debian Patches

Status for bc/1.07.1-4

Patch Description Author Forwarded Bugs Origin Last update
01_typo_in_bc.diff Fix a typo in bc Ryan Kavanagh <rak@debian.org> invalid vendor 2024-03-04
02_hyphens_as_minus_in_man.diff Correct hyphens used as minus signs Ryan Kavanagh <rak@debian.org> invalid vendor 2024-03-04
04_info_dircategory.diff Set the dircategory of info pages to Math

Converted from an inline patch introduced in 1.06.95-3 (git commit 9be25538)
"John G. Hasler" <jhasler@debian.org> no vendor 2024-03-04
05_notice_read_write_errors.diff notice read and write errors on input and output

Quoting from the bug report:
+bc (1.06-19ubuntu1) dapper; urgency=low
+
+ * Make dc notice read and write errors on its input and output.
+ I grepped for mentions of the strings `putc', `print', `getc', `FILE',
+ `stdin', `stdout' and `stderr' and added calls to new error-checking
+ functions unless it was clear from the immediately-surrounding code
+ that the program was exiting nonzero, or would exit nonzero if the
+ call failed. I ignored hits in lib/getopt*, which seems to
+ pervasively ignore write errors when printing usage messages, in the
+ hope that these were correct. I _think_ I got them all. -iwj.
+
+ -- Ian Jackson <iwj@ubuntu.com> Tue, 4 Apr 2006 17:21:02 +0100

Updated by Ryan Kavanagh <rak@debian.org> for 1.0.7.1 on 26 July 2017.

Updated to incorporate changes by Matthias Klose <doko@debian.org>
on 2024-03-13 that fix Debian bug https://bugs.debian.org/1065375 .
Ian Jackson <iwj@ubuntu.com> invalid debian other 2024-03-04
06_read_dcrc.diff Read ~/.dcrc at startup of dc

Patch taken from old version of dc by Paul Dwerryhouse
Was initially applied by Francois Marier <francois@debian.org> in the NMU
1.06.94-3.1 to close http://bugs.debian.org/472250 .
Then it disappeared along the way, until users asked for it again.
Jan Braun <janbraun@gmx.net> updated it to read .drcr before argument
processing so that
$ dc
$ dc -
$ dc -f -
all have the same behaviour
Ryan Kavanagh <rak@debian.org> invalid debian vendor 2013-06-02
07_bc_man.diff Fix some formatting issues with bc man page

* Space at end of lines removed
* Removed or added word space
* Use "\(en" as a dash to indicate a range instead of "-"
* Added "\&" after a full stop if it is not an end of sentence
* Use "\e" to print a backslash
* Use either macros "IR" or "RI" when mixing these two styles in a row of
words
* Use "\," when mixing roman and italic, "\/" for italic and roman.
* The Word 'funtion' changed to 'function'.
Bjarni Ingi Gislason <bjarniig@rhi.hi.is> invalid debian 2024-03-04
08_no-make-circular-dependencies.diff fix circular dependency in makefile

The upstream makefile is unhelpfully relying on make to allow it to break
target dependency loops in a particular manner. Instead, be explicit about
the relationship between the targets.
Steve Langasek <steve.langasek@ubuntu.com> invalid debian 2024-03-04

All known versions for source package 'bc'

Links