Summary: | sys-devel/gettext-0.18.1.1-r3: compile failed in stpncpy.c: expected declaration specifiers or '...' before '__builtin_object_size' | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Linlin Yan <yanlinlin82> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Linlin Yan
2013-11-13 15:07:36 UTC
I copied the gettext-0.18.1.1-r3.ebuild to new one and changed a liitle: --- gettext-0.18.1.1-r3.ebuild 2012-10-27 19:18:01.000000000 +0800 +++ gettext-0.18.1.1-r4.ebuild 2013-11-13 23:17:06.000000000 +0800 @@ -41,7 +41,7 @@ "${S}"/gettext-tools/misc/convert-archive.in || die # work around problem in gnulib on OSX Lion and Mountain Lion - if [[ ${CHOST} == *-darwin1[12] ]] ; then + if [[ ${CHOST} == *-darwin1[123] ]] ; then sed -i -e '/^#ifndef weak_alias$/a\# undef __stpncpy' \ gettext-tools/gnulib-lib/stpncpy.c || die sed -i -e '/^# undef __stpncpy$/a\# undef stpncpy' \ Now, stage3 (emerging portage) could keep going on. thanks, committed |