summaryrefslogtreecommitdiffstats
path: root/bc/bc-1.06-fixes-1.patch
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 11:35:12 +0100
committerLukc <lukc@upyum.com>2010-12-12 11:35:12 +0100
commitdbf3d687e251f5bf47842cfc5b8761f787356f48 (patch)
treeb8a056e284e396ba0537689c1c290348d33b22e2 /bc/bc-1.06-fixes-1.patch
parent54f130b57fc317f61bab7e4ca01abed8d595688c (diff)
downloadopt-dbf3d687e251f5bf47842cfc5b8761f787356f48.tar.gz
opt-dbf3d687e251f5bf47842cfc5b8761f787356f48.tar.bz2
opt-dbf3d687e251f5bf47842cfc5b8761f787356f48.tar.xz
opt-dbf3d687e251f5bf47842cfc5b8761f787356f48.zip
Recette de bc mise à jour.
Diffstat (limited to 'bc/bc-1.06-fixes-1.patch')
-rw-r--r--bc/bc-1.06-fixes-1.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/bc/bc-1.06-fixes-1.patch b/bc/bc-1.06-fixes-1.patch
new file mode 100644
index 0000000..afcdba2
--- /dev/null
+++ b/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 <number.h>
+ #include <assert.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <ctype.h>/* 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;