[Bug 277660] www/mod_auth_kerb2: fix build with clang 17 when HEIMDAL is used

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Nov 2026 13:31:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277660

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=8a6b778f837584591f037034a557423f12a6c967

commit 8a6b778f837584591f037034a557423f12a6c967
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-11-29 13:29:43 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-11-29 13:30:43 +0000

    www/mod_auth_kerb2: Fix build with the GSSAPI_HEIMDAL option

    With the GSSAPI_HEIMDAL option enabled the build fails with
    "incompatible function pointer types", because accept_sec_token is
    declared with a const gss_cred_id_t argument while Heimdal's
    gss_accept_sec_context() takes a gss_const_cred_id_t. Use
    gss_const_cred_id_t in the pointer type, applied only for this option.

    PR:             277660
    Sponsored by:   Netzkommune GmbH

 www/mod_auth_kerb2/Makefile                                   |  1 +
 .../files/extra-patch-src__mod_auth_kerb.c (new)              | 11 +++++++++++
 2 files changed, 12 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.