head 1.7; access; symbols pkgsrc-2024Q1:1.6.0.10 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.8 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.6 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.4 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.2 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.4.0.4 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.2 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.3.0.8 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.8 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.6 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.4 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.2 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @// @; 1.7 date 2024.04.22.07.05.15; author adam; state dead; branches; next 1.6; commitid ivj1hEdTegoCM67F; 1.6 date 2023.03.03.09.53.14; author wiz; state Exp; branches; next 1.5; commitid wT1PS8EgjSqn5FfE; 1.5 date 2023.03.03.09.47.20; author wiz; state Exp; branches; next 1.4; commitid e05G3DOR2gUu0FfE; 1.4 date 2022.08.12.08.58.41; author pin; state Exp; branches; next 1.3; commitid RKEJMVTrBQX8jzPD; 1.3 date 2021.07.12.18.46.07; author adam; state Exp; branches; next 1.2; commitid 67W8d1OVOEANhJ0D; 1.2 date 2020.07.26.19.20.13; author adam; state Exp; branches; next 1.1; commitid ZQ28dCdRPBkZKChC; 1.1 date 2020.04.18.08.03.53; author adam; state Exp; branches; next ; commitid 4fhJ8R4N65zqcQ4C; desc @@ 1.7 log @libunwind compiler-rt libcxx libcxxabi: updated to 17.0.6 17.0.6 https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes/17.html @ text @$NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.6 2023/03/03 09:53:14 wiz Exp $ urio and smb have been removed from NetBSD. upstreamed? TIOCRCVFRAME and TIOCXMTFRAME as well. https://github.com/llvm/llvm-project/issues/61151 --- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2023-01-12 07:12:30.000000000 +0000 +++ lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp @@@@ -957,12 +957,14 @@@@ unsigned struct_session_op_sz = sizeof(s unsigned struct_sgttyb_sz = sizeof(sgttyb); unsigned struct_sioc_sg_req_sz = sizeof(sioc_sg_req); unsigned struct_sioc_vif_req_sz = sizeof(sioc_vif_req); +#if __NetBSD_Version__ < 999000000 unsigned struct_smbioc_flags_sz = sizeof(smbioc_flags); unsigned struct_smbioc_lookup_sz = sizeof(smbioc_lookup); unsigned struct_smbioc_oshare_sz = sizeof(smbioc_oshare); unsigned struct_smbioc_ossn_sz = sizeof(smbioc_ossn); unsigned struct_smbioc_rq_sz = sizeof(smbioc_rq); unsigned struct_smbioc_rw_sz = sizeof(smbioc_rw); +#endif unsigned struct_spppauthcfg_sz = sizeof(spppauthcfg); unsigned struct_spppauthfailuresettings_sz = sizeof(spppauthfailuresettings); unsigned struct_spppauthfailurestats_sz = sizeof(spppauthfailurestats); @@@@ -987,7 +989,9 @@@@ unsigned struct_twe_drivecommand_sz = si unsigned struct_twe_paramcommand_sz = sizeof(twe_paramcommand); unsigned struct_twe_usercommand_sz = sizeof(twe_usercommand); unsigned struct_ukyopon_identify_sz = sizeof(ukyopon_identify); +#if __NetBSD_Version__ < 999000000 unsigned struct_urio_command_sz = sizeof(urio_command); +#endif unsigned struct_usb_alt_interface_sz = sizeof(usb_alt_interface); unsigned struct_usb_bulk_ra_wb_opt_sz = sizeof(usb_bulk_ra_wb_opt); unsigned struct_usb_config_desc_sz = sizeof(usb_config_desc); @@@@ -1576,8 +1580,10 @@@@ unsigned IOCTL_STICIO_RESET = STICIO_RES unsigned IOCTL_STICIO_STARTQ = STICIO_STARTQ; unsigned IOCTL_STICIO_STOPQ = STICIO_STOPQ; unsigned IOCTL_UKYOPON_IDENTIFY = UKYOPON_IDENTIFY; +#if __NetBSD_Version__ < 999000000 unsigned IOCTL_URIO_SEND_COMMAND = URIO_SEND_COMMAND; unsigned IOCTL_URIO_RECV_COMMAND = URIO_RECV_COMMAND; +#endif unsigned IOCTL_USB_REQUEST = USB_REQUEST; unsigned IOCTL_USB_SETDEBUG = USB_SETDEBUG; unsigned IOCTL_USB_DISCOVER = USB_DISCOVER; @@@@ -1962,6 +1968,7 @@@@ unsigned IOCTL_SIOCCONNECTXDEL = SIOCCON unsigned IOCTL_SIOCSIFINFO_FLAGS = SIOCSIFINFO_FLAGS; unsigned IOCTL_SIOCAADDRCTL_POLICY = SIOCAADDRCTL_POLICY; unsigned IOCTL_SIOCDADDRCTL_POLICY = SIOCDADDRCTL_POLICY; +#if __NetBSD_Version__ < 999000000 unsigned IOCTL_SMBIOC_OPENSESSION = SMBIOC_OPENSESSION; unsigned IOCTL_SMBIOC_OPENSHARE = SMBIOC_OPENSHARE; unsigned IOCTL_SMBIOC_REQUEST = SMBIOC_REQUEST; @@@@ -1969,6 +1976,7 @@@@ unsigned IOCTL_SMBIOC_SETFLAGS = SMBIOC_ unsigned IOCTL_SMBIOC_LOOKUP = SMBIOC_LOOKUP; unsigned IOCTL_SMBIOC_READ = SMBIOC_READ; unsigned IOCTL_SMBIOC_WRITE = SMBIOC_WRITE; +#endif unsigned IOCTL_AGPIOC_INFO = AGPIOC_INFO; unsigned IOCTL_AGPIOC_ACQUIRE = AGPIOC_ACQUIRE; unsigned IOCTL_AGPIOC_RELEASE = AGPIOC_RELEASE; @@@@ -2342,8 +2350,12 @@@@ unsigned IOCTL_TIOCDRAIN = TIOCDRAIN; unsigned IOCTL_TIOCGFLAGS = TIOCGFLAGS; unsigned IOCTL_TIOCSFLAGS = TIOCSFLAGS; unsigned IOCTL_TIOCDCDTIMESTAMP = TIOCDCDTIMESTAMP; +#ifdef TIOCRCVFRAME unsigned IOCTL_TIOCRCVFRAME = TIOCRCVFRAME; +#endif +#ifdef TIOCXMTFRAME unsigned IOCTL_TIOCXMTFRAME = TIOCXMTFRAME; +#endif unsigned IOCTL_TIOCPTMGET = TIOCPTMGET; unsigned IOCTL_TIOCGRANTPT = TIOCGRANTPT; unsigned IOCTL_TIOCPTSNAME = TIOCPTSNAME; @ 1.6 log @compiler-rt: add upstream bug report @ text @d1 1 a1 1 $NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.5 2023/03/03 09:47:20 wiz Exp $ @ 1.5 log @compiler-rt: fix build on NetBSD-current @ text @d1 1 a1 1 $NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.4 2022/08/12 08:58:41 pin Exp $ d4 2 d7 1 @ 1.4 log @lang/compiler-rt: llvm update @ text @d1 1 a1 1 $NetBSD$ d4 1 d6 1 a6 1 --- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2022-06-22 16:46:24.000000000 +0000 d60 13 @ 1.3 log @compiler-rt libunwind libcxx libcxxabi: updated to 12.0.1 What’s New in Libc++ 12.0.0? New Features Random device support has been made optional. It’s enabled by default and can be disabled by building libc++ with -DLIBCXX_ENABLE_RANDOM_DEVICE=OFF. Disabling random device support can be useful when building the library for platforms that don’t have a source of randomness, such as some embedded platforms. When this is not supported, most of will still be available, but std::random_device will not. Localization support has been made optional. It’s enabled by default and can be disabled by building libc++ with -DLIBCXX_ENABLE_LOCALIZATION=OFF. Disabling localization can be useful when porting to platforms that don’t support the C locale API (e.g. embedded). When localization is not supported, several parts of the library will be disabled: , , will be completely unusable, and other parts may be only partly available. If libc++ is compiled with a C++20 capable compiler it will be compiled in C++20 mode. Else libc++ will be compiled in C++17 mode. Several unqualified lookups in libc++ have been changed to qualified lookups. This makes libc++ more ADL-proof. The libc++ implementation status pages have been overhauled. Like other parts documentation they now use restructured text instead of html. Starting with libc++12 the status pages are part of libc++’s documentation. More C++20 features have been implemented. libc++ C++20 Status has the full overview of libc++’s C++20 implementation status. Work has started to implement new C++2b features. libc++ C++2b Status has the full overview of libc++’s C++2b implementation status. API Changes By default, libc++ will _not_ include the definition for new and delete, since those are provided in libc++abi. Vendors wishing to provide new and delete in libc++ can build the library with -DLIBCXX_ENABLE_NEW_DELETE_DEFINITIONS=ON to get back the old behavior. This was done to avoid providing new and delete in both libc++ and libc++abi, which is technically an ODR violation. Also note that we couldn’t decide to put the operators in libc++ only, because they are needed from libc++abi (which would create a circular dependency). During the C++20 standardization process some new low-level bit functions have been renamed. Libc++ has renamed these functions to match the C++20 Standard. - ispow2 has been renamed to has_single_bit - ceil2 has been renamed to bit_ceil - floor2 has been renamed to bit_floor - log2p1 has been renamed to bit_width In C++20 mode, std::filesystem::path::u8string() and generic_u8string() now return std::u8string according to P0428, while they return std::string in C++17. This can cause source incompatibility, which is discussed and acknowledged in P1423, but that paper doesn’t suggest any remediation for this incompatibility. @ text @d1 1 a1 1 $NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.2 2020/07/26 19:20:13 adam Exp $ d5 1 a5 1 --- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2020-10-07 10:10:48.000000000 +0000 d7 1 a7 1 @@@@ -803,12 +803,14 @@@@ unsigned struct_session_op_sz = sizeof(s d22 1 a22 1 @@@@ -833,7 +835,9 @@@@ unsigned struct_twe_drivecommand_sz = si d32 1 a32 1 @@@@ -1422,8 +1426,10 @@@@ unsigned IOCTL_STICIO_RESET = STICIO_RES d43 1 a43 1 @@@@ -1808,6 +1814,7 @@@@ unsigned IOCTL_SIOCCONNECTXDEL = SIOCCON d51 1 a51 1 @@@@ -1815,6 +1822,7 @@@@ unsigned IOCTL_SMBIOC_SETFLAGS = SMBIOC_ @ 1.2 log @llvm: updated to 10.0.1 10.0.1: Bug fix release @ text @d1 1 a1 1 $NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.1 2020/04/18 08:03:53 adam Exp $ d5 1 a5 1 --- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2020-07-07 16:21:37.000000000 +0000 d7 1 a7 21 @@@@ -166,7 +166,9 @@@@ #include #include #include +#if __NetBSD_Version__ < 999000000 #include +#endif #include #include #include @@@@ -190,7 +192,9 @@@@ #include #include #include +#if __NetBSD_Version__ < 999000000 #include +#endif #include #include #include @@@@ -672,12 +676,14 @@@@ unsigned struct_session_op_sz = sizeof(s d22 1 a22 1 @@@@ -702,7 +708,9 @@@@ unsigned struct_twe_drivecommand_sz = si d32 1 a32 1 @@@@ -1291,8 +1299,10 @@@@ unsigned IOCTL_STICIO_RESET = STICIO_RES d43 1 a43 1 @@@@ -1677,6 +1687,7 @@@@ unsigned IOCTL_SIOCCONNECTXDEL = SIOCCON d51 1 a51 1 @@@@ -1684,6 +1695,7 @@@@ unsigned IOCTL_SMBIOC_SETFLAGS = SMBIOC_ @ 1.1 log @compiler-rt: add new patches @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 urio driver has been removed from NetBSD. d5 1 a5 1 --- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2020-03-30 13:20:43.073033175 +0000 d7 11 a17 1 @@@@ -190,7 +190,9 @@@@ d27 16 a42 1 @@@@ -702,7 +704,9 @@@@ unsigned struct_twe_drivecommand_sz = si d52 1 a52 1 @@@@ -1291,8 +1295,10 @@@@ unsigned IOCTL_STICIO_RESET = STICIO_RES d63 16 @