Skip to contentSkip to conversation

bison: apply remove-gets.patch to native build as well

PATCH In review Jonathan Liu 2 participants 2 messages Jul 29, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bison: apply remove-gets.patch to native build as well

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.

---
 meta/recipes-devtools/bison/bison_2.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/bison/bison_2.5.bb +1 -1
index 687f06a..ae090d2 100644
@@ -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"
Signature · 1 line
1.7.11.3
#1 lore raw
Quoted 5 lines · Jonathan Liu

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.

This belongs to openembedded-core ML and there is one already.

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]