diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-17 17:38:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-24 11:52:26 +0100 |
commit | e3af86e98d62d09507011618ce254b12f5466750 (patch) | |
tree | a898fdcaed57a0b2f83415a9ae2b95e3caeed2ff /meta/recipes-extended/bc/files | |
parent | 1d8c7fa36981dcecda45a417b0eb3943e049f4e0 (diff) | |
download | poky-e3af86e98d62d09507011618ce254b12f5466750.tar.gz |
bc: upgrade to 1.07.1
Relicensed to just GPLv3+, update LICENSE and checksums.
The build dependency for flex should be flex-native.
libmath.h is missing from the tarball (it was present in 1.06) and the
generation rules are not cross-friendly, so delete the rules and copy in a
pre-generated libmath.h.
Remove fix-segment-fault.patch as the fixes are now upstream.
Add PACKAGECONFIG for readline and libedit, defaulting to readline.
(From OE-Core rev: 9862849ba883c110e4d2c57c39ab2c58e9b2d216)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bc/files')
-rw-r--r-- | meta/recipes-extended/bc/files/fix-segment-fault.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/recipes-extended/bc/files/fix-segment-fault.patch b/meta/recipes-extended/bc/files/fix-segment-fault.patch deleted file mode 100644 index 20c0da2ebe..0000000000 --- a/meta/recipes-extended/bc/files/fix-segment-fault.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | when run command such as 'echo "a = 13" | bc -l', it segmentation faults. | ||
4 | This patch is from http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg04602.html. | ||
5 | |||
6 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
7 | |||
8 | --- bc-1.06/lib/number.c.orig 2003-09-26 21:14:02.000000000 +0000 | ||
9 | +++ bc-1.06/lib/number.c 2003-09-26 21:14:26.000000000 +0000 | ||
10 | @@ -34,6 +34,7 @@ | ||
11 | #include <number.h> | ||
12 | #include <assert.h> | ||
13 | #include <stdlib.h> | ||
14 | +#include <string.h> | ||
15 | #include <ctype.h>/* Prototypes needed for external utility routines. */ | ||
16 | |||
17 | #define bc_rt_warn rt_warn | ||
18 | --- bc-1.06/bc/load.c.orig 2003-09-26 21:14:14.000000000 +0000 | ||
19 | +++ bc-1.06/bc/load.c 2003-09-26 21:14:26.000000000 +0000 | ||
20 | @@ -156,7 +156,7 @@ | ||
21 | long label_no; | ||
22 | long vaf_name; /* variable, array or function number. */ | ||
23 | long func; | ||
24 | - program_counter save_adr; | ||
25 | + static program_counter save_adr; | ||
26 | |||
27 | /* Initialize. */ | ||
28 | str = code; | ||