]> git.openpandora.org Git - openembedded.git/commitdiff
diffutils: add --without-included-regex for uclibc builds in 2.8.1
authorJohn Bowler <jbowler@nslu2-linux.org>
Sat, 21 Jan 2006 05:55:51 +0000 (05:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 21 Jan 2006 05:55:51 +0000 (05:55 +0000)
 - 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

index 66fc5119bacdc88743b9a687bcdb38c2d73c39fd..e8de2cad62d73eb420adc1c4eedd0661a87c4fcb 100644 (file)
@@ -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"