On Sun, Aug 07, 2022 at 09:50:27PM -0400, George Koehler wrote:
> Hello ports list,
>
> BE_ARCHS can't build graphics/freeimage, because its big-endian code
> gives errors like,
>
> Source/FreeImage/PluginBMP.cpp:1422:14: error: use of undeclared identifier 'bpp
> '
> } else if (bpp == 16) {
> ^
>
> This diff, from an upstream commit, fixes the build for me on
> big-endian powerpc and powerpc64. It unblocks some other packages,
> at least graphics/imv (an image viewer). I tried to run imv on
> powerpc, but it got stuck on the cpu and failed to show any image.
> I can view images with imv on little-endian amd64, after I built
> freeimage with this diff.
>
> ok to commit this diff?
ok tb
No comments:
Post a Comment