kumquat-buildroot/package/bc/bc.mk
Robert Sohn 1faa7c344e bc: bump version to 1.06.95
The current version of bc being used (1.06) is from 2000 and contains a
serious bug causing it to segfault when the math library is used, so bump to
the latest alpha release, which is also 9 years old.

Also include two fixes for Debian (https://packages.debian.org/jessie/bc)

- A patch to fix array initialization by Phul Nelson
- A patch to get bc to notice I/O errors by Ian Jackson

[Peter: fixup white space and tweak commit message]
Signed-off-by: Robert Sohn <grepper@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-06-13 10:02:36 +02:00

20 lines
524 B
Makefile

################################################################################
#
# bc
#
################################################################################
BC_VERSION = 1.06.95
BC_SOURCE = bc-$(BC_VERSION).tar.bz2
BC_SITE = http://alpha.gnu.org/gnu/bc
BC_DEPENDENCIES = host-flex
BC_LICENSE = GPLv2+ LGPLv2.1+
BC_LICENSE_FILES = COPYING COPYING.LIB
# Build after busybox so target ends up with bc's "dc" version
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
BC_DEPENDENCIES += busybox
endif
$(eval $(autotools-package))