Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463894 - <=app-misc/hivex-1.3.5 : ./stdio.h:1029:1: error: 'gets' undeclared here (not in a function)
Summary: <=app-misc/hivex-1.3.5 : ./stdio.h:1029:1: error: 'gets' undeclared here (not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.16
  Show dependency tree
 
Reported: 2013-03-30 17:18 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2013-03-31 09:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.