[poky] [PATCH] bison: apply remove-gets.patch to native build as well

Jonathan Liu net147 at gmail.com
Sat Jul 28 18:18:08 PDT 2012


In addition to the gets function possibly not being available with
the target glibc, it may not be available with the host glibc either.

Move remove-gets.patch from SRC_URI to BASE_SRC_URI to fix compile
error for native build when host glibc does not have the gets function.

Signed-off-by: Jonathan Liu <net147 at gmail.com>
---
 meta/recipes-devtools/bison/bison_2.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/bison/bison_2.5.bb b/meta/recipes-devtools/bison/bison_2.5.bb
index 687f06a..ae090d2 100644
--- a/meta/recipes-devtools/bison/bison_2.5.bb
+++ b/meta/recipes-devtools/bison/bison_2.5.bb
@@ -13,11 +13,11 @@ PR = "r2"
 
 BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
 	   file://m4.patch \
+	   file://remove-gets.patch \
 	  "
 
 SRC_URI = "${BASE_SRC_URI} \
            file://fix_cross_manpage_building.patch \
-           file://remove-gets.patch \
           "
 
 SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4"
-- 
1.7.11.3




More information about the poky mailing list