Summary: | sci-libs/cfitsio-4.5.0 fails to compile: putcol.c:1229:24: error: expected identifier or ( before nullptr | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Astronomy project <sci-astronomy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40826 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 911674 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/cfitsio.dir/putcol.c.o /var/tmp/portage/sci-libs/cfitsio-4.4.1/work/cfitsio-4.4.1/putcol.c:1229:24: error: expected identifier or ‘(’ before ‘nullptr’ tinderbox_musl has reproduced this issue with version 4.5.0 - Updating summary. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ac36f22a5ee77e6516ba65ce6ef9dabb9825be1 commit 7ac36f22a5ee77e6516ba65ce6ef9dabb9825be1 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-03-01 09:27:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 01:36:31 +0000 sci-libs/cfitsio: port to C23 Rename nullptr to ptr_to_null, as it points to null in string, not is pointer that is null. Closes: https://bugs.gentoo.org/943959 Closes: https://bugs.gentoo.org/944747 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40826 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/cfitsio/cfitsio-4.5.0-r1.ebuild | 73 ++++++++++++++++++++++ .../files/cfitsio-4.5.0-rename-nullptr.patch | 51 +++++++++++++++ 2 files changed, 124 insertions(+) |