On recent CURRENT (FreeBSD 14.0-CURRENT #0 main-n263767-764464af4968: Fri Jun 23 10:30:09 CEST 2023 amd64) with LLVM16 aboard, compiling port print/hplip (hplip-3.23.5) dies with error: [...] prnt/hpijs/compression.cpp:269:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1237feacf2ac1214abeb3b68b3f6412b7a90c418 commit 1237feacf2ac1214abeb3b68b3f6412b7a90c418 Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2023-06-25 14:30:09 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2023-06-25 14:44:03 +0000 print/hplip: Fix build with llvm16 PR: 272171 print/hplip/files/patch-Makefile.in | 34 ++++++++++++++++------ .../hplip/files/patch-prnt_cupsext_cupsext.c (new) | 16 ++++++++++ .../hplip/files/patch-prnt_hpcups_Mode9.cpp (new) | 11 +++++++ .../patch-prnt_hpcups_ModeDeltaPlus.cpp (new) | 13 +++++++++ print/hplip/files/patch-prnt_hpps_pserror.c (new) | 11 +++++++ print/hplip/files/patch-scan_sane_bb__ledm.c (new) | 10 +++++++ print/hplip/files/patch-scan_sane_http.c (new) | 10 +++++++ print/hplip/files/patch-scan_sane_orblite.c | 22 ++++++++++++-- 8 files changed, 115 insertions(+), 12 deletions(-)
Great, thank you!