Summary: | media-libs/freeimage-3.18.0-r6 - Source/.../PluginPSD.cpp: error: cannot convert std::nullptr_t to BOOL {aka int} in return | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | games |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 839975 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 media-libs:freeimage-3.18.0-r6:20220430-214709.log temp.tar.bz2 |
Description
Toralf Förster
2022-05-01 07:20:55 UTC
Created attachment 775736 [details]
emerge-info.txt
Created attachment 775739 [details]
emerge-history.txt
Created attachment 775742 [details]
environment
Created attachment 775745 [details]
etc.portage.tar.bz2
Created attachment 775748 [details]
media-libs:freeimage-3.18.0-r6:20220430-214709.log
Created attachment 775751 [details]
temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6bf07acc01f5848f2b0b7c17b93e05611a651b5 commit a6bf07acc01f5848f2b0b7c17b93e05611a651b5 Author: Alfred Persson Forsberg <cat@catcream.org> AuthorDate: 2022-06-16 18:54:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-16 21:08:49 +0000 media-libs/freeimage: fix build with musl 1.2.3 FreeImage relies on NULL being 0, while on musl for stdc++ >= 11 it is defined as nullptr. This breaks the build for musl. Returning FALSE here is correct. Closes: https://bugs.gentoo.org/841973 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/25926 Signed-off-by: Sam James <sam@gentoo.org> .../files/freeimage-3.18.0-null-to-false.patch | 22 ++++++++++++++++++++++ media-libs/freeimage/freeimage-3.18.0-r8.ebuild | 1 + 2 files changed, 23 insertions(+) |