freebsd-ports/databases/mysql80-server/files
Dimitry Andric bfdc368a6e databases/mysql80-server: fix build with clang 16
Similar to bug 272295, building databases/mysql80-server with clang 16
or higher can result in an error:

  /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.35/boost/boost_1_77_0/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]
     73 |     typedef AUX_WRAPPER_INST( BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (value - 1)) ) prior;
        |                               ^
  /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.35/boost/boost_1_77_0/boost/mpl/aux_/static_cast.hpp:24:47: note: expanded from macro 'BOOST_MPL_AUX_STATIC_CAST'
     24 | #   define BOOST_MPL_AUX_STATIC_CAST(T, expr) static_cast<T>(expr)
        |                                               ^

This is because the vendored copy of boost in mysql80-server is using
undefined behavior in a possibly constexpr context.

Fix this by unconditionally enabling the "boost workaround" for aux
wrapper value types in integral_wrapper.hpp.

PR:		276749
Approved by:	joneum (maintainer)
MFH:		2024Q1
2024-02-01 20:02:03 +01:00
..
extra-patch-boost-boost_1_77_0-boost-move-detail-type_traits.hpp
my.cnf.sample.in
mysql-server.in
patch-boost_boost__1__77__0_boost_mpl_aux___integral__wrapper.hpp databases/mysql80-server: fix build with clang 16 2024-02-01 20:02:03 +01:00
patch-client_CMakeLists.txt
patch-cmake_install_layout.cmake
patch-cmake_os_DragonFly.cmake
patch-cmake_os_FreeBSD.cmake
patch-cmake_plugin.cmake
patch-cmake_ssl.cmake
patch-CMakeLists.txt
patch-include_dh__ecdh__config.h databases/mysql80-server: Fix build with libressl 2023-12-13 11:56:43 +01:00
patch-include_my__compare.h
patch-include_my__stacktrace.h
patch-include_my__thread__os__id.h
patch-include_myisam.h
patch-libmysql_CMakeLists.txt
patch-libservices_CMakeLists.txt
patch-man_CMakeLists.txt
patch-mysys_my__default.cc
patch-mysys_my__kdf.cc
patch-plugin_password__validation_validate__password.cc
patch-plugin_x_client_authentication_sha256__scramble__generator.cc
patch-plugin_x_CMakeLists.txt
patch-plugin_x_configure.cmake
patch-router_src_harness_include_mysql_harness_net__ts_internet.h
patch-router_src_harness_include_mysql_harness_net_ts_impl_kqueue_io_service.h
patch-router_src_harness_src_CMakeLists.txt
patch-router_src_harness_src_tls__client__context.cc
patch-router_src_harness_src_tls__context.cc
patch-router_src_harness_src_tls__server__context.cc
patch-router_src_http_src_CMakeLists.txt
patch-router_src_io_src_CMakeLists.txt
patch-router_src_router_src_CMakeLists.txt
patch-scripts_CMakeLists.txt
patch-scripts_mysqld__safe.sh
patch-sql_auth_sha2__password__common.cc
patch-sql_auth_sql__authorization.cc
patch-sql_conn__handler_socket__connection.cc
patch-sql_mysqld.cc
patch-sql_ssl__init__callback.cc
patch-sql_sys__vars.cc
patch-storage_innobase_include_srv0mon.h
patch-storage_innobase_include_ut0crc32.h
patch-storage_innobase_ut_crc32.cc
patch-storage_myisam_mi__dynrec.cc
patch-storage_temptable_include_temptable_lock_free_type.h
patch-support-files_CMakeLists.txt
patch-utilities_CMakeLists.txt
pkg-message.in