Summary: | app-crypt/mit-krb5-appl-1.0.3-r4 fails to compile: krlogind.c:215:14: error: conflicting types for ‘ptsname’; have ‘char *(void)’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Kerberos Maintainers <kerberos> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | jy6x2b32pie9 |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40406 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 913528 [details]
build.log
build log and emerge --info
Porting to C23 is annoying, so many vararg functions that are now illegal. Slapping -std=gnu17 and fixing bug 878615 appears the solution. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546b5929b0b382b7fc0d66c1a8d51454431f6ab0 commit 546b5929b0b382b7fc0d66c1a8d51454431f6ab0 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-01 13:50:32 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2025-02-07 12:11:40 +0000 app-crypt/mit-krb5-appl: port to C99 and up to C17 Fails to build with C23 due to very active usage of vararg functions: Some of function pointers take parameters, some of them take no parameters Bug: https://bugs.gentoo.org/946064 Closes: https://bugs.gentoo.org/878615 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Eray Aslan <eras@gentoo.org> .../mit-krb5-appl/files/mit-krb5-appl-c99.patch | 71 ++++++++++++++++++++++ .../mit-krb5-appl/mit-krb5-appl-1.0.3-r5.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 142 insertions(+) |