Author: jw Date: 2006-04-10 14:50:08 +0200 (Mon, 10 Apr 2006) New Revision: 1213 Added: crux-2.2/ports/core/bc/bc-1.06-fixes-1.patch Log: bc: actually add the patch Added: crux-2.2/ports/core/bc/bc-1.06-fixes-1.patch =================================================================== --- crux-2.2/ports/core/bc/bc-1.06-fixes-1.patch (rev 0) +++ crux-2.2/ports/core/bc/bc-1.06-fixes-1.patch 2006-04-10 12:50:08 UTC (rev 1213) @@ -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;