CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[crossrootfs.git] / bc / bc-1.06-fixes-1.patch
CommitLineData
6dca1d21
JB
1Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
2Date: 2003-09-26
3Initial Package Version: 1.06
4Origin: Mandrake CVS
5Description: Fixes a few typos
6
7--- bc-1.06/lib/number.c.orig 2003-09-26 21:14:02.000000000 +0000
8+++ bc-1.06/lib/number.c 2003-09-26 21:14:26.000000000 +0000
9@@ -34,6 +34,7 @@
10 #include <number.h>
11 #include <assert.h>
12 #include <stdlib.h>
13+#include <string.h>
14 #include <ctype.h>/* Prototypes needed for external utility routines. */
15
16 #define bc_rt_warn rt_warn
17--- bc-1.06/bc/load.c.orig 2003-09-26 21:14:14.000000000 +0000
18+++ bc-1.06/bc/load.c 2003-09-26 21:14:26.000000000 +0000
19@@ -156,7 +156,7 @@
20 long label_no;
21 long vaf_name; /* variable, array or function number. */
22 long func;
23- program_counter save_adr;
24+ static program_counter save_adr;
25
26 /* Initialize. */
27 str = code;