FreeBSD Bugzilla – Attachment 242254 Details for
Bug 271494
textproc/jade: fix build with clang 16
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
textproc/jade: fix build with clang 16
textproc__jade-fix-clang16-build-1.diff (text/plain), 999 bytes, created by
Dimitry Andric
on 2023-05-18 15:46:39 UTC
(
hide
)
Description:
textproc/jade: fix build with clang 16
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2023-05-18 15:46:39 UTC
Size:
999 bytes
patch
obsolete
>commit a72640274a1ae60ea7a639326b22516ef9f1d93e >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2023-05-18 17:43:15 +0200 > > textproc/jade: fix build with clang 16 > > Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. > Because textproc/jade's Makefile does not explicitly set its C++ > standard, this leads to an error: > > Recognizer.cxx:40:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] > register const Trie *pos = trie_.pointer(); > ^~~~~~~~~ > > Add USE_CXXSTD=gnu++98 to compile for C++98 with GNU extensions instead. > >diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile >index 4c13aa2bfae4..70c003bb5c7c 100644 >--- a/textproc/jade/Makefile >+++ b/textproc/jade/Makefile >@@ -20,6 +20,7 @@ CONFLICTS= sp-1.* > > GNU_CONFIGURE= yes > USES= desthack gmake libtool >+USE_CXXSTD= gnu++98 > USE_LDCONFIG= yes > CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog > MAKE_JOBS_UNSAFE= yes
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271494
: 242254