textproc/xerces-c3: Update to 3.3.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=123550234d13b25916
Port details
devel/libxsd-frontend2.1.0_1
W3C XML Schema compiler frontend
- Maintainer
- kde@FreeBSD.org
- Packages
- libxsd-frontend 2.1.0_1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://www.codesynthesis.com/projects/libxsd-frontend/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (3)
devel/libxsd-frontend: fix build with libc++ 19
As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.
This causes www/qt5-webengine to fail to compile with clang 19 and
libc++ 19, resulting in errors similar to:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<XSDFrontend::Bits::None>'
820 | static_assert(is_same<_CharT, typename traits_type::char_type>::value,
| ^
/wrkdirs/usr/ports/devel/libxsd-frontend/work/libxsd-frontend-2.1.0/libxsd-frontend/xml.hxx:100:23: note: in instantiation of template class 'std::basic_string<XSDFrontend::Bits::None>' requested here
100 | NarrowString r (s);
| ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
| ^
The `Bits::None` construct used by libxsd-frontend is meant to disable
unwanted conversions, but it no longer works if `std::char_traits>` is
undefined for this type.
Fix it by removing the `Bits` namespace and only enabling the converting
constructors if the first type of `StringTemplate` is `wchar_t`.
[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals
PR: 281478
Approved by: maintainer timeout (2 weeks)
MFH: 2024Q3c1c4aae636devel/xsd: Update to 4.2.0 Add two new support ports: devel/libxsd and devel/libxsd-frontend. The runtime library was moved out of devel/xsd to devel/libxsd which is why the headers are gone. The compiler frontend, which following a previous comment in the devel/xsd Makefile suggesting that it should be a separate port, but more out of necessity for compatibility with the build2 build system, is now devel/libxsd-frontend. The examples are now a separate distribution and I didn't really see any urgent need to reincorporate them, as they would require yet another port that the majority of our userbase would probably not be interested in as xsd is ultimately just a build dependency for textproc/libkolabxml. Update devel/libcutl to 1.11.0 due to header relocation. Update textproc/libkolabxml to HEAD for C++11 compatibility. Differential Revision: https://reviews.freebsd.org/D430808c77316ede