https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-text/djvu-3.5.28-r3 fails to compile (MUSL-CLANG-SYSTEM). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: (MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Created attachment 851480 [details] build.log build log and emerge --info
For what it's worth, it also fails on a clang/libcxx system, but compiles fine with CXXFLAGS="${CXXFLAGS} -Wno-register"
Created attachment 864778 [details, diff] Fixes the compilation issues on clang. This patch fixes the compilation issues on clang by removing the deprecated (and unneeded) register keyword from GBitmap.h
Guillaumes patch just works fine!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c370b3aebafad706edbb6aecbad93f5ad0eebb6 commit 1c370b3aebafad706edbb6aecbad93f5ad0eebb6 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-08-17 18:09:22 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-08-19 05:50:45 +0000 app-text/djvu: Fix C++17 does not allow register storage class Closes: https://bugs.gentoo.org/894644 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32359 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-text/djvu/djvu-3.5.28-r4.ebuild | 71 ++++++++++++++++++++++ ...djvu-3.5.28-drop-register-keyword-clang16.patch | 21 +++++++ 2 files changed, 92 insertions(+)