From a67a5fd160f97129a6afd65f107cd2cbdfec41e7 Mon Sep 17 00:00:00 2001 From: Nicola Lunghi Date: Thu, 21 Nov 2019 12:57:11 +0000 Subject: diffutils: use mempcpy instead of __mempcpy musl (like uclibc) doesn't define __mempcpy. This patch will replace __mempcpy with mempcpy in the internal regex.c and getopt.c implementation (similar to what is done in grep in this same repo with the uclibc-fix.patch This also render the line: EXTRA_OECONF_libc-uclibc = "--without-included-regex" not needed anymore so it drops it. Signed-off-by: Nicola Lunghi Signed-off-by: Ross Burton --- recipes-extended/diffutils/diffutils.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'recipes-extended/diffutils/diffutils.inc') diff --git a/recipes-extended/diffutils/diffutils.inc b/recipes-extended/diffutils/diffutils.inc index 243341a..c81348b 100644 --- a/recipes-extended/diffutils/diffutils.inc +++ b/recipes-extended/diffutils/diffutils.inc @@ -6,13 +6,6 @@ SECTION = "base" inherit autotools texinfo update-alternatives 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_libc-uclibc = "--without-included-regex" - ALTERNATIVE_${PN} = "diff cmp" ALTERNATIVE_PRIORITY = "100" -- cgit v1.2.3-54-g00ecf