-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mocklibc: move the print_indent function to the file where it is used #428
mocklibc: move the print_indent function to the file where it is used #428
Conversation
This fixes build error with GCC >= 14 and clang >= 17, failing on: ``` ../subprojects/mocklibc-1.0/src/netgroup-debug.c:25:3: error: implicit declaration of function ‘print_indent’ [-Wimplicit-function-declaration] 25 | print_indent(stream, indent); | ^~~~~~~~~~~~ ``` Closes: polkit-org#6
After Fedora-40 is released on Tue 2024-04-23, without this change and with the |
This doesn't seem to actually work / fix it completely, as there is also an outdated copy of mocklibc in subprojects, leading to
|
Relevant downstream bug report: I'm a bit confused by How is this supposed to work? |
/cc @jrybar-rh |
The plan is to replace the |
What's missing to replace it fully? |
I'm not really familiar with meson/wrapdb, but would it be possible to get this fixed mocklibc into https://github.com/mesonbuild/wrapdb ? https://mesonbuild.com/Wrap-dependency-system-manual.html#diff-files |
Afaics, the mocklibc copy in |
This fixes build error with GCC >= 14 and clang >= 17, failing on:
Issue reported 11 years ago to (dead) upstream: https://code.google.com/archive/p/mocklibc/issues/3.
Closes: #6