summaryrefslogtreecommitdiffstats
path: root/recipes-extended/diffutils/diffutils.inc
diff options
context:
space:
mode:
authorNicola Lunghi <nick83ola@gmail.com>2019-11-21 12:57:11 +0000
committerRoss Burton <ross.burton@intel.com>2019-11-25 12:24:21 +0000
commita67a5fd160f97129a6afd65f107cd2cbdfec41e7 (patch)
treea51a17c63ce51685166cb622a394903aafdf04d6 /recipes-extended/diffutils/diffutils.inc
parent0f4eecc000f66d114ad258fa31aed66afa292166 (diff)
downloadmeta-gplv2-a67a5fd160f97129a6afd65f107cd2cbdfec41e7.tar.gz
diffutils: use mempcpy instead of __mempcpy3.1_M1
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 <nick83ola@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-extended/diffutils/diffutils.inc')
-rw-r--r--recipes-extended/diffutils/diffutils.inc7
1 files changed, 0 insertions, 7 deletions
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"
6 6
7inherit autotools texinfo update-alternatives gettext 7inherit autotools texinfo update-alternatives gettext
8 8
9# diffutils assumes non-glibc compilation with uclibc and
10# this causes it to generate its own implementations of
11# standard functionality. regex.c actually breaks compilation
12# because it uses __mempcpy, there are other things (TBD:
13# see diffutils.mk in buildroot)
14EXTRA_OECONF_libc-uclibc = "--without-included-regex"
15
16ALTERNATIVE_${PN} = "diff cmp" 9ALTERNATIVE_${PN} = "diff cmp"
17ALTERNATIVE_PRIORITY = "100" 10ALTERNATIVE_PRIORITY = "100"
18 11