Date: Wed, 11 Mar 2026 17:36:59 +0000 From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Jessica Clarke <jrtc27@FreeBSD.org> Subject: git: fdddd0058e34 - stable/15 - krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux Message-ID: <69b1a83b.185f3.2a2f72a5@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=fdddd0058e3457e2cdce3e84f43e86bedaa66846 commit fdddd0058e3457e2cdce3e84f43e86bedaa66846 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2025-10-22 19:50:50 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2026-03-11 17:36:36 +0000 krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux This shows up in GitHub Actions as a warning, and some compilers can default to it being an error. (cherry picked from commit 4dd2b869cd078ed6f40c42d1ef429222da16a58f) --- krb5/include/autoconf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/krb5/include/autoconf.h b/krb5/include/autoconf.h index ed0bf8cacc14..f1cf42d8f90f 100644 --- a/krb5/include/autoconf.h +++ b/krb5/include/autoconf.h @@ -691,7 +691,12 @@ #define STDC_HEADERS 1 /* Define to 1 if strerror_r returns char *. */ +#ifdef __GLIBC__ +/* Bootstrapping on GNU/Linux */ +#define STRERROR_R_CHAR_P 1 +#else /* #undef STRERROR_R_CHAR_P */ +#endif /* Define if sys_errlist is defined in errno.h */ #define SYS_ERRLIST_DECLARED 1home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b1a83b.185f3.2a2f72a5>
