Summary: | sys-auth/polkit: fix compilation with musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Travis Tilley <ttilley> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | blueness |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: | fix compilation against musl |
sorry for the delay in pushing this one. i just noticed it becuase it wasn't blocking musl-porting. anyhow its on the overlay now. |
Created attachment 399422 [details, diff] fix compilation against musl musl doesn't have netgroup support. use configure to check for getnetgrent and innetgr, block off sections of code using those. patch is inspired by a similar patch in alpine linux for polkit 0.105, however the polkit code has changed significantly since then. their attempt to upstream a fix has been completely ignored since 2012. the attached patch is against hardened-dev musl branch, though i don't see how this could break things for anyone else. code review would be appreciated either way.