From: Jan Rękorajski Date: Tue, 5 Jul 2005 14:53:03 +0000 (+0000) Subject: - fix lib loading (e.g. on x86_64 bc -l give sigsegv) X-Git-Tag: auto/ac/bc-1_06-16~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbc.git;a=commitdiff_plain;h=a107eeb3e5ee28462c22cee84be5646e640ca937 - fix lib loading (e.g. on x86_64 bc -l give sigsegv) Changed files: bc-save_adr.patch -> 1.1 --- diff --git a/bc-save_adr.patch b/bc-save_adr.patch new file mode 100644 index 0000000..2ead293 --- /dev/null +++ b/bc-save_adr.patch @@ -0,0 +1,14 @@ +--- bc-1.06/bc/load.c.s390 Wed Sep 13 20:22:38 2000 ++++ bc-1.06/bc/load.c Wed Sep 5 16:10:18 2001 +@@ -156,7 +156,10 @@ + long label_no; + long vaf_name; /* variable, array or function number. */ + long func; +- program_counter save_adr; ++ /* Make save_adr static. Otherwise the whole address save stuff doesn't make ++ any sense at all and break e.g. on S390. ++ 09/05/01 Phil Knirsch */ ++ static program_counter save_adr; + + /* Initialize. */ + str = code;