summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-21 05:55:51 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-21 05:55:51 +0000
commit3eb7dcd49082cdb9d60c62d61664daec5c6505cf (patch)
treeb0e79f96100c78cbb4649c3722a85b5be2c5c5cb
parent325e11a718cf09f9df860effc16b6c22de6e01a2 (diff)
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...
-rw-r--r--packages/diffutils/diffutils_2.8.1.bb8
1 files changed, 8 insertions, 0 deletions
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"