databases/mysql80-server: fix build with libc++ 20 and higher
With libc++ 20 and higher, databases/mysql80-server fails to compile,
resulting in errors similar to:
In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/stdx/filesystem.cc:40:
/wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/../include/mysql/harness/stdx/expected.h:74:8: error: 'is_default_constructible' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
74 | struct is_default_constructible<std::unique_ptr<T, void (*)(T *)>>
| ^
/usr/include/c++/v1/__type_traits/is_constructible.h:49:8: note: marked '_Clang::no_specializations' here
49 | struct _LIBCPP_NO_SPECIALIZATIONS is_default_constructible : integral_constant<bool, __is_constructible(_Tp)> {};
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
1167 | [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
| ^
This is due to a workaround for a std::unique_ptr problem which is only
applicable to gcc before 7.1, so the whole workaround can be deleted,
which fixes the problem.
[8 lines not shown]
databases/mysql80-server: fix build with libc++ 20 and higher
With libc++ 20 and higher, databases/mysql80-server fails to compile,
resulting in errors similar to:
In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/stdx/filesystem.cc:40:
/wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/../include/mysql/harness/stdx/expected.h:74:8: error: 'is_default_constructible' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
74 | struct is_default_constructible<std::unique_ptr<T, void (*)(T *)>>
| ^
/usr/include/c++/v1/__type_traits/is_constructible.h:49:8: note: marked '_Clang::no_specializations' here
49 | struct _LIBCPP_NO_SPECIALIZATIONS is_default_constructible : integral_constant<bool, __is_constructible(_Tp)> {};
| ^
/usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
1167 | [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
| ^
This is due to a workaround for a std::unique_ptr problem which is only
applicable to gcc before 7.1, so the whole workaround can be deleted,
which fixes the problem.
[6 lines not shown]
sysutils/auto-admin: Update to 0.8.4.14
auto-cups-setup: Tolerate missing drivers (prep for deprecation)
auto-install-base-components: Check for pkgbase
auto-ly-enable: New script to enable ly login manager
auto-pkg-latest:
Fix missing _${VERSION_MINOR} in kmods repo config
Offer to overwrite config file when already using latest
auto-update-system: Include /etc/pkg in repo checks
auto-dreckly-setup: Fix pkgsrc wip URL
arm: Use proper prototype for SYSINIT functions
The only possible return value of function module_info_init() is 0. Make
it return void to match the prototype of SYSINIT.
MFC after: 1 week
(cherry picked from commit 0b9c12fa976446705635a94984f45232f034eecf)
(cherry picked from commit fcdc37febbb6b6c4efb7f4f42162466992f90523)
sys/sysent.h: Remove an unneeded type cast
The function exec_sysvec_init() already has the right prototype.
While here, remove an extra semicolon from the macro INIT_SYSENTVEC.
MFC after: 1 week
(cherry picked from commit 296db8c72dca1c17d9a4ce94cc8881e48df8187b)
(cherry picked from commit 64771eeaf82f06c2af4e0f20f40baa9d5103f0dd)
ipfw: Use proper prototype for SYSINIT functions
The only possible return value of function ipfw_init() is 0. Make it
return void to match the prototype of SYSINIT.
MFC after: 1 week
(cherry picked from commit 1bba2194c8a960235f8eae36e7d3e96f347ce779)
(cherry picked from commit 745b6ca4ed933f9f4c1d314dc7b0aa31e8e9e0de)
jail: Use proper prototype for SYSINIT functions
The only possible return value of function jm_sysinit() and jm_sysuninit()
is 0. Make them return void to match the prototype of SYSINIT.
MFC after: 1 week
(cherry picked from commit a988393b469be58ff87f4d044af61fd2251b490c)
(cherry picked from commit 20af9193776df39331d5287a4a8b22de6d665c8f)