|Summary:||sys-auth/polkit: fix compilation with musl|
|Product:||Gentoo Linux||Reporter:||Travis Tilley <ttilley>|
|Component:||Hardened||Assignee:||The Gentoo Linux Hardened Team <hardened>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
|Attachments:||fix compilation against musl|
Description Travis Tilley 2015-03-21 21:58:24 UTC
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.
Comment 1 Anthony Basile 2015-05-13 16:49:36 UTC
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.