Re: [package - main-amd64-default][graphics/mesa-demos] Failed for mesa-demos-8.4.0_3 in build
Jan Beich <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]> |
<[email protected]> writes: > _CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin Regressed by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271047 > shaderutil.c:84:20: error: incompatible function pointer types assigning to 'PFNGLSHADERSOURCEPROC' (aka 'void (*)(unsigned int, int, const char *const *, const int *)') from 'PFNGLSHADERSOURCEARBPROC' (aka 'void (*)(unsigned int, int, const char **, const int *)') [-Wincompatible-function-pointer-types] > ShaderSource = glShaderSourceARB; > ^ ~~~~~~~~~~~~~~~~~ > 1 error generated. Fixed by https://gitlab.freedesktop.org/mesa/demos/-/commit/e67dac7e61f1 which is part of https://lists.freedesktop.org/archives/mesa-announce/2022-May/000677.html while the latest is https://lists.freedesktop.org/archives/mesa-announce/2023-March/000712.html which contains FreeBSD fixes (upstreamed by me) but no longer supports autotools. Note, another case for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271600