Skip to content
Snippets Groups Projects
Commit e1b0ab8b authored by Marta Rybczynska's avatar Marta Rybczynska
Browse files

polkit: backport a fix for musl compilation

Backport upstream fix. Without it it fails a build with musl
with a message like:

| ../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c: In function 'js_polkit_user_is_in_netgroup':
| ../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c:1039:7: warning: implicit declaration of function 'innetgr' [-Wimplicit-function-declaration]
|  1039 |   if (innetgr (netgroup,
|       |       ^~~~~~~
...
| /tmp/workspace.s8oaEh28da/build/tmp/work/corei7-64-oniro-linux-musl/polkit/0.119-r0/recipe-sysroot-native/usr/bin/x86_64-oniro-linux-musl/../../libexec/x86_64-oniro-linux-musl/gcc/x86_64-oniro-linux-musl/11.3.0/ld: ./.libs/libpolkit-backend-1.a(libpolkit_backend_1_la-polkitbackendduktapeauthority.o): in function `js_polkit_user_is_in_netgroup':
| /usr/src/debug/polkit/0.119-r0/build/src/polkitbackend/../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c:1039: undefined reference to `innetgr'
| collect2: error: ld returned 1 exit status

Update 0003-Added-support-for-duktape-as-JS-engine.patch accordingly
(configure.ac required changes).

Upstream-Status: Submitted [https://lists.openembedded.org/g/openembedded-devel/message/98035

]

Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
parent 3eea06f5
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !174. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment