diff --git a/package/base/bc/bc-1.06-fixes-1.patch b/package/base/bc/bc-1.06-fixes-1.patch new file mode 100644 index 000000000..afcdba20d --- /dev/null +++ b/package/base/bc/bc-1.06-fixes-1.patch @@ -0,0 +1,27 @@ +Submitted By: Jim Gifford (jim at linuxfromscratch dot org) +Date: 2003-09-26 +Initial Package Version: 1.06 +Origin: Mandrake CVS +Description: Fixes a few typos + +--- bc-1.06/lib/number.c.orig 2003-09-26 21:14:02.000000000 +0000 ++++ bc-1.06/lib/number.c 2003-09-26 21:14:26.000000000 +0000 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include /* Prototypes needed for external utility routines. */ + + #define bc_rt_warn rt_warn +--- bc-1.06/bc/load.c.orig 2003-09-26 21:14:14.000000000 +0000 ++++ bc-1.06/bc/load.c 2003-09-26 21:14:26.000000000 +0000 +@@ -156,7 +156,7 @@ + long label_no; + long vaf_name; /* variable, array or function number. */ + long func; +- program_counter save_adr; ++ static program_counter save_adr; + + /* Initialize. */ + str = code; diff --git a/package/base/bc/bc-1.06-info-1.patch b/package/base/bc/bc-1.06-info-1.patch new file mode 100644 index 000000000..41231d1c8 --- /dev/null +++ b/package/base/bc/bc-1.06-info-1.patch @@ -0,0 +1,85 @@ +Submitted By: BLFS Book +Date: 2003-10-03 +Initial Package Version: 1.06 +Origin: NA +Description: Fix bc documentation. +diff -Naur bc-1.06.orig/doc/bc.texi bc-1.06/doc/bc.texi +--- bc-1.06.orig/doc/bc.texi 2000-09-27 19:22:24.000000000 -0500 ++++ bc-1.06/doc/bc.texi 2002-07-09 14:36:27.000000000 -0500 +@@ -13,18 +13,15 @@ + @c \overfullrule=0pt + @c end tex + +-@titlepage +-@title @command{bc} +-@subtitle an arbitrary precision calculator language +-@subtitle version 1.06 +- +-@author Philip A. Nelson +-@page ++@ifinfo ++@direntry ++* bc: (bc). An arbitrary precision calculator language. ++@end direntry + + This manual documents @command{bc}, an arbitrary precision calculator language. + + This manual is part of GNU @command{bc}.@* +-@sp4 ++ + Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +@@ -32,12 +29,12 @@ + this manual provided the copyright notice and this permission notice + are preserved on all copies. + +-@iftex ++@ignore + Permission is granted to process this file through TeX and print the + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). +-@end iftex ++@end ignore + + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire +@@ -48,6 +45,16 @@ + into another language, under the above conditions for modified versions, + except that this permission notice may be stated in a translation approved + by the Foundation. ++@end ifinfo ++ ++@titlepage ++@title @command{bc} ++@subtitle an arbitrary precision calculator language ++@subtitle version 1.06 ++ ++@author Philip A. Nelson ++@page ++ + + You may contact the author by: + e-mail: @email{phil@@cs.wwu.edu}@* +diff -Naur bc-1.06.orig/doc/dc.texi bc-1.06/doc/dc.texi +--- bc-1.06.orig/doc/dc.texi 2000-08-31 10:57:43.000000000 -0500 ++++ bc-1.06/doc/dc.texi 2002-07-09 14:36:27.000000000 -0500 +@@ -41,8 +41,8 @@ + results, provided the printed document carries copying permission + notice identical to this one except for the removal of this paragraph + (this paragraph not being relevant to the printed manual). +- + @end ignore ++ + Permission is granted to copy and distribute modified versions of this + manual under the conditions for verbatim copying, provided that the entire + resulting derived work is distributed under the terms of a permission +@@ -85,7 +85,6 @@ + by the Foundation. + + @end titlepage +-@page + + @node Top, Introduction, (dir), (dir) +