From 3eb7dcd49082cdb9d60c62d61664daec5c6505cf Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 21 Jan 2006 05:55:51 +0000 Subject: diffutils: add --without-included-regex for uclibc builds in 2.8.1 - diffutils works out that uclibc is not glibc and automagically builds its own regex, this is not good because its own regex relies on GNU specific features which are no longer in uclibc (svn head), whereas the uclibc regex is actually a copy of the glibc one... --- packages/diffutils/diffutils_2.8.1.bb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/diffutils/diffutils_2.8.1.bb b/packages/diffutils/diffutils_2.8.1.bb index 66fc5119ba..e8de2cad62 100644 --- a/packages/diffutils/diffutils_2.8.1.bb +++ b/packages/diffutils/diffutils_2.8.1.bb @@ -3,7 +3,15 @@ LICENSE = "GPL" DESCRIPTION = "Diffutils contains the GNU diff, diff3, \ sdiff, and cmp utilities. These programs are usually \ used for creating patch files." +PR = "r1" SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz" inherit autotools + +# diffutils assumes non-glibc compilation with uclibc and +# this causes it to generate its own implementations of +# standard functionality. regex.c actually breaks compilation +# because it uses __mempcpy, there are other things (TBD: +# see diffutils.mk in buildroot) +EXTRA_OECONF_linux-uclibc = "--without-included-regex" -- cgit v1.2.3