findutils: add --without-included-regex for uclibc builds in 4.1.20
authorJohn Bowler <jbowler@nslu2-linux.org>
Sat, 21 Jan 2006 05:54:11 +0000 (05:54 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 21 Jan 2006 05:54:11 +0000 (05:54 +0000)
 - findutils 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/findutils/findutils_4.1.20.bb

index 213e610..e633b6d 100644 (file)
@@ -1,10 +1,17 @@
 SECTION = "console/utils"
 LICENSE = "GPL"
 DESCRIPTION = "find, locate, and xargs binaries."
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://alpha.gnu.org/gnu/findutils/findutils-${PV}.tar.gz \
           file://configure.patch;patch=1 \
           file://make.patch;patch=1"
 
 inherit autotools gettext
+
+# 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"