From 4ca3a19c6fb93a6e85017f7ae465b5d2eba9463e Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 12 Mar 2013 09:56:02 +0000 Subject: grep: Always use locale.h The changes in the grep 2.5 configuration always leave out HAVE_LOCALE_H - it has been removed from other files, but not from everywhere. This leads to a crash in certain configurations where the size of int is not the size of pointer; this happens because setlocale() is used while being undeclared. [YOCTO #3959] Signed-off-by: Alexandru DAMIAN Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/grep/grep_2.5.1a.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/grep/grep_2.5.1a.bb') diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb b/meta/recipes-extended/grep/grep_2.5.1a.bb index ebcbe23ca0..d6386edb3f 100644 --- a/meta/recipes-extended/grep/grep_2.5.1a.bb +++ b/meta/recipes-extended/grep/grep_2.5.1a.bb @@ -11,6 +11,7 @@ SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2 \ file://uclibc-fix.patch \ file://grep_fix_for_automake-1.12.patch \ file://gettext.patch \ + file://fix64-int-to-pointer.patch \ file://Makevars \ " -- cgit v1.2.3