diff options
author | Andr? Draszik <git@andred.net> | 2020-01-06 10:19:34 +0000 |
---|---|---|
committer | Ross Burton <ross.burton@intel.com> | 2020-01-07 12:55:15 +0000 |
commit | e3979dcefbf3f4ef7a489ea932b1cccd1c68e7be (patch) | |
tree | 605d1f449554c5af74200bba81def77d57cccb8a /recipes-extended/diffutils/diffutils-2.8.1/0003-context-fix-compilation-with-64bit-time_t-on-32bit-a.patch | |
parent | 1e8d51d0363fde36b97cd7d68d07d67d411630b9 (diff) | |
download | meta-gplv2-e3979dcefbf3f4ef7a489ea932b1cccd1c68e7be.tar.gz |
grep: fix builds with gettext 0.20.x (musl)
Update patch to also AC_CHECK_FUNCS([setlocale]).
Various #include <locale.h> are guarded by the outcome of that,
and otherwise compilation fails, e.g.:
| ../../grep-2.5.1a/src/dfa.c:1366:34: error: 'LC_COLLATE' undeclared (first use in this function); did you mean 'REG_ECOLLATE'?
| 1366 | hard_LC_COLLATE = hard_locale (LC_COLLATE);
| | ^~~~~~~~~~
| | REG_ECOLLATE
It appears that this test used to be triggered by (implied with)
the old gettext version, but now it isn't.
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'recipes-extended/diffutils/diffutils-2.8.1/0003-context-fix-compilation-with-64bit-time_t-on-32bit-a.patch')
0 files changed, 0 insertions, 0 deletions