Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463894

Summary: <=app-misc/hivex-1.3.5 : ./stdio.h:1029:1: error: 'gets' undeclared here (not in a function)
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: maksbotan, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 424737    

Description Andreis Vinogradovs ( slepnoga ) 2013-03-30 17:18:53 UTC
all ebuild <=app-misc/hivex-1.3.5  version not compile with glibc-2.16 and produce error : ./stdio.h:1029:1: error: 'gets' undeclared here (not in a function)
Comment 1 Andreis Vinogradovs ( slepnoga ) 2013-03-30 18:48:47 UTC
Please commit follow patch:


 src_prepare() {
+       sed -i -e '/gets is a security/d' gnulib/lib/stdio.in.h || die "sed failed"
        autotools-utils_src_prepare
 }
Comment 2 Andreis Vinogradovs ( slepnoga ) 2013-03-30 18:55:08 UTC
Also please add EAPI=5 to respect verbose build
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2013-03-31 09:04:49 UTC
Fixed, thanks.