pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mysql80-cluster



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Sun May 31 10:47:49 UTC 2026

Modified Files:
        pkgsrc/databases/mysql80-cluster: Makefile.common PLIST distinfo
        pkgsrc/databases/mysql80-cluster/patches: patch-configure.cmake
            patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc
Added Files:
        pkgsrc/databases/mysql80-cluster/patches:
            patch-extra_libevent_libevent-2.1.11-stable_kqueue.c
            patch-extra_zlib_zlib-1.3.2_gzguts.h
            patch-storage_ndb_src_kernel_blocks_trpman.cpp

Log Message:
Upgrade to MySQL Cluster 8.0.46.

Changes in MySQL NDB Cluster 8.0.46 (2026-04-24)

   MySQL NDB Cluster 8.0.46 is a new release of NDB 8.0, based on
   MySQL Server 8.0 and including features in version 8.0 of the
   NDB storage engine, as well as fixing recently discovered bugs
   in previous NDB Cluster releases.

   Obtaining NDB Cluster 8.0.  NDB Cluster 8.0 source code and
   binaries can be obtained from https://dev.mysql.com/downloads/cluster/.

   For an overview of changes made in NDB Cluster 8.0, see What is
   New in MySQL NDB Cluster 8.0.

   This release also incorporates all bug fixes and changes made
   in previous NDB Cluster releases, as well as all bug fixes and
   feature changes which were added in mainline MySQL 8.0 through
   MySQL 8.0.46 (see Changes in MySQL 8.0.46 (2026-04-21)).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/mysql80-cluster/Makefile.common
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/mysql80-cluster/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/mysql80-cluster/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/databases/mysql80-cluster/patches/patch-configure.cmake \
    pkgsrc/databases/mysql80-cluster/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/mysql80-cluster/patches/patch-extra_libevent_libevent-2.1.11-stable_kqueue.c \
    pkgsrc/databases/mysql80-cluster/patches/patch-extra_zlib_zlib-1.3.2_gzguts.h \
    pkgsrc/databases/mysql80-cluster/patches/patch-storage_ndb_src_kernel_blocks_trpman.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mysql80-cluster/Makefile.common
diff -u pkgsrc/databases/mysql80-cluster/Makefile.common:1.7 pkgsrc/databases/mysql80-cluster/Makefile.common:1.8
--- pkgsrc/databases/mysql80-cluster/Makefile.common:1.7        Mon Mar 30 03:41:24 2026
+++ pkgsrc/databases/mysql80-cluster/Makefile.common    Sun May 31 10:47:48 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.7 2026/03/30 03:41:24 jnemeth Exp $
+# $NetBSD: Makefile.common,v 1.8 2026/05/31 10:47:48 jnemeth Exp $
 #
 # used by databases/mysql-cluster/Makefile
 
-DISTNAME=      mysql-cluster-8.0.45
+DISTNAME=      mysql-cluster-8.0.46
 BOOSTVER=      1.77.0
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mysql/}

Index: pkgsrc/databases/mysql80-cluster/PLIST
diff -u pkgsrc/databases/mysql80-cluster/PLIST:1.3 pkgsrc/databases/mysql80-cluster/PLIST:1.4
--- pkgsrc/databases/mysql80-cluster/PLIST:1.3  Mon Mar 30 03:41:24 2026
+++ pkgsrc/databases/mysql80-cluster/PLIST      Sun May 31 10:47:48 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2026/03/30 03:41:24 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/05/31 10:47:48 jnemeth Exp $
 bin/comp_err
 bin/ibd2sdi
 bin/innochecksum
@@ -112,7 +112,7 @@ include/mysql/storage/ndb/ndbapi/ndberro
 lib/libmysqlclient.a
 lib/libmysqlclient.so
 lib/libmysqlclient.so.21
-lib/libmysqlclient.so.21.2.45
+lib/libmysqlclient.so.21.2.46
 lib/libmysqlservices.a
 lib/libndbclient.so
 lib/libndbclient.so.6.1.0
@@ -10225,6 +10225,7 @@ share/mysql/test/suite/innodb/t/innodb_c
 share/mysql/test/suite/innodb/t/innodb_ctype_ldml.test
 share/mysql/test/suite/innodb/t/innodb_deadlock_with_autoinc-master.opt
 share/mysql/test/suite/innodb/t/innodb_deadlock_with_autoinc.test
+share/mysql/test/suite/innodb/t/innodb_dirty_pages_at_shutdown-master.opt
 share/mysql/test/suite/innodb/t/innodb_dirty_pages_at_shutdown.test
 share/mysql/test/suite/innodb/t/innodb_doublewrite_dir_01-master.opt
 share/mysql/test/suite/innodb/t/innodb_doublewrite_dir_01.test
@@ -10807,6 +10808,7 @@ share/mysql/test/suite/innodb_fts/includ
 share/mysql/test/suite/innodb_fts/include/tablespace_location_alter.inc
 share/mysql/test/suite/innodb_fts/include/tablespace_location_error.inc
 share/mysql/test/suite/innodb_fts/r/alter.result
+share/mysql/test/suite/innodb_fts/r/articles_fts_words.result
 share/mysql/test/suite/innodb_fts/r/basic.result
 share/mysql/test/suite/innodb_fts/r/bug_32831765.result
 share/mysql/test/suite/innodb_fts/r/bug_34846823.result
@@ -10867,6 +10869,7 @@ share/mysql/test/suite/innodb_fts/r/tran
 share/mysql/test/suite/innodb_fts/r/truncate.result
 share/mysql/test/suite/innodb_fts/r/zip.result
 share/mysql/test/suite/innodb_fts/t/alter.test
+share/mysql/test/suite/innodb_fts/t/articles_fts_words.test
 share/mysql/test/suite/innodb_fts/t/basic.test
 share/mysql/test/suite/innodb_fts/t/bug_32831765.test
 share/mysql/test/suite/innodb_fts/t/bug_34846823.test
@@ -11139,6 +11142,7 @@ share/mysql/test/suite/innodb_undo/r/i_s
 share/mysql/test/suite/innodb_undo/r/i_s_files_4k.result
 share/mysql/test/suite/innodb_undo/r/i_s_files_64k.result
 share/mysql/test/suite/innodb_undo/r/i_s_files_8k.result
+share/mysql/test/suite/innodb_undo/r/purge_on_replica.result
 share/mysql/test/suite/innodb_undo/r/trunc_multi_client_01.result
 share/mysql/test/suite/innodb_undo/r/trunc_multi_client_02.result
 share/mysql/test/suite/innodb_undo/r/truncate.result
@@ -11183,6 +11187,8 @@ share/mysql/test/suite/innodb_undo/t/i_s
 share/mysql/test/suite/innodb_undo/t/i_s_files_64k.test
 share/mysql/test/suite/innodb_undo/t/i_s_files_8k-master.opt
 share/mysql/test/suite/innodb_undo/t/i_s_files_8k.test
+share/mysql/test/suite/innodb_undo/t/purge_on_replica-master.opt
+share/mysql/test/suite/innodb_undo/t/purge_on_replica.test
 share/mysql/test/suite/innodb_undo/t/trunc_multi_client_01-master.opt
 share/mysql/test/suite/innodb_undo/t/trunc_multi_client_01.test
 share/mysql/test/suite/innodb_undo/t/trunc_multi_client_02-master.opt
@@ -12443,6 +12449,7 @@ share/mysql/test/suite/ndb/r/ndb_gsl_ddl
 share/mysql/test/suite/ndb/r/ndb_gsl_mdl_deadlock.result
 share/mysql/test/suite/ndb/r/ndb_hashmap.result
 share/mysql/test/suite/ndb/r/ndb_hidden_pk.result
+share/mysql/test/suite/ndb/r/ndb_high_api_node_id.result
 share/mysql/test/suite/ndb/r/ndb_import0.result
 share/mysql/test/suite/ndb/r/ndb_import1.result
 share/mysql/test/suite/ndb/r/ndb_import2.result
@@ -12594,6 +12601,7 @@ share/mysql/test/suite/ndb/r/ndb_transac
 share/mysql/test/suite/ndb/r/ndb_transaction_memory_shortage_dbacc.result
 share/mysql/test/suite/ndb/r/ndb_transaction_pending_abort.result
 share/mysql/test/suite/ndb/r/ndb_trigger.result
+share/mysql/test/suite/ndb/r/ndb_trp_activity.result
 share/mysql/test/suite/ndb/r/ndb_truncate.result
 share/mysql/test/suite/ndb/r/ndb_truncate_fail.result
 share/mysql/test/suite/ndb/r/ndb_truncate_nologging.result
@@ -12888,6 +12896,8 @@ share/mysql/test/suite/ndb/t/ndb_gsl_mdl
 share/mysql/test/suite/ndb/t/ndb_hashmap.cnf
 share/mysql/test/suite/ndb/t/ndb_hashmap.test
 share/mysql/test/suite/ndb/t/ndb_hidden_pk.test
+share/mysql/test/suite/ndb/t/ndb_high_api_node_id.cnf
+share/mysql/test/suite/ndb/t/ndb_high_api_node_id.test
 share/mysql/test/suite/ndb/t/ndb_import.pl
 share/mysql/test/suite/ndb/t/ndb_import0.test
 share/mysql/test/suite/ndb/t/ndb_import1.test
@@ -13106,6 +13116,8 @@ share/mysql/test/suite/ndb/t/ndb_transac
 share/mysql/test/suite/ndb/t/ndb_transaction_pending_abort.cnf
 share/mysql/test/suite/ndb/t/ndb_transaction_pending_abort.test
 share/mysql/test/suite/ndb/t/ndb_trigger.test
+share/mysql/test/suite/ndb/t/ndb_trp_activity.cnf
+share/mysql/test/suite/ndb/t/ndb_trp_activity.test
 share/mysql/test/suite/ndb/t/ndb_truncate.test
 share/mysql/test/suite/ndb/t/ndb_truncate_fail.test
 share/mysql/test/suite/ndb/t/ndb_truncate_nologging.cnf
@@ -16712,6 +16724,7 @@ share/mysql/test/suite/rpl/r/rpl_relay_l
 share/mysql/test/suite/rpl/r/rpl_relay_log_rotation_on_worker_failure.result
 share/mysql/test/suite/rpl/r/rpl_relay_log_space_limit.result
 share/mysql/test/suite/rpl/r/rpl_relay_log_space_limit_net_write_timeout.result
+share/mysql/test/suite/rpl/r/rpl_relay_log_space_limit_with_backup_lock.result
 share/mysql/test/suite/rpl/r/rpl_relay_log_space_synchronization.result
 share/mysql/test/suite/rpl/r/rpl_relay_space_innodb.result
 share/mysql/test/suite/rpl/r/rpl_relay_space_myisam.result
@@ -17597,6 +17610,8 @@ share/mysql/test/suite/rpl/t/rpl_relay_l
 share/mysql/test/suite/rpl/t/rpl_relay_log_space_limit_net_write_timeout-master.opt
 share/mysql/test/suite/rpl/t/rpl_relay_log_space_limit_net_write_timeout-slave.opt
 share/mysql/test/suite/rpl/t/rpl_relay_log_space_limit_net_write_timeout.test
+share/mysql/test/suite/rpl/t/rpl_relay_log_space_limit_with_backup_lock-slave.opt
+share/mysql/test/suite/rpl/t/rpl_relay_log_space_limit_with_backup_lock.test
 share/mysql/test/suite/rpl/t/rpl_relay_log_space_synchronization.test
 share/mysql/test/suite/rpl/t/rpl_relay_space_innodb.test
 share/mysql/test/suite/rpl/t/rpl_relay_space_myisam.test
@@ -21359,6 +21374,7 @@ share/mysql/test/suite/x/include/sample_
 share/mysql/test/suite/x/include/show_xpl_debug_info.inc
 share/mysql/test/suite/x/include/stored_procedures.inc
 share/mysql/test/suite/x/include/system_variable_timeout.inc
+share/mysql/test/suite/x/include/test_caching_sha2_password_digest_rounds.inc
 share/mysql/test/suite/x/include/test_flow_resultset_crud_document.inc
 share/mysql/test/suite/x/include/test_flow_resultset_crud_table.inc
 share/mysql/test/suite/x/include/test_flow_resultset_cursors.inc
@@ -21403,6 +21419,7 @@ share/mysql/test/suite/x/r/admin_xkill.r
 share/mysql/test/suite/x/r/binary_log.result
 share/mysql/test/suite/x/r/blob_partial_update.result
 share/mysql/test/suite/x/r/bug_23028052.result
+share/mysql/test/suite/x/r/caching_sha2_password_digest_rounds.result
 share/mysql/test/suite/x/r/capabilities.result
 share/mysql/test/suite/x/r/capabilities_compression.result
 share/mysql/test/suite/x/r/charset_default.result
@@ -21604,6 +21621,7 @@ share/mysql/test/suite/x/r/message_compr
 share/mysql/test/suite/x/r/message_compressed_payload.result
 share/mysql/test/suite/x/r/message_empty_payload.result
 share/mysql/test/suite/x/r/message_io_error.result
+share/mysql/test/suite/x/r/message_large_payload.result
 share/mysql/test/suite/x/r/message_not_initialized.result
 share/mysql/test/suite/x/r/message_not_parsed_data.result
 share/mysql/test/suite/x/r/message_protobuf_nested.result
@@ -21730,6 +21748,7 @@ share/mysql/test/suite/x/t/binary_log.te
 share/mysql/test/suite/x/t/blob_partial_update-master.opt
 share/mysql/test/suite/x/t/blob_partial_update.test
 share/mysql/test/suite/x/t/bug_23028052.test
+share/mysql/test/suite/x/t/caching_sha2_password_digest_rounds.test
 share/mysql/test/suite/x/t/capabilities-master.opt
 share/mysql/test/suite/x/t/capabilities.test
 share/mysql/test/suite/x/t/capabilities_compression.test
@@ -21977,6 +21996,7 @@ share/mysql/test/suite/x/t/message_compr
 share/mysql/test/suite/x/t/message_compressed_payload.test
 share/mysql/test/suite/x/t/message_empty_payload.test
 share/mysql/test/suite/x/t/message_io_error.test
+share/mysql/test/suite/x/t/message_large_payload.test
 share/mysql/test/suite/x/t/message_not_initialized.test
 share/mysql/test/suite/x/t/message_not_parsed_data.test
 share/mysql/test/suite/x/t/message_protobuf_nested.test

Index: pkgsrc/databases/mysql80-cluster/distinfo
diff -u pkgsrc/databases/mysql80-cluster/distinfo:1.5 pkgsrc/databases/mysql80-cluster/distinfo:1.6
--- pkgsrc/databases/mysql80-cluster/distinfo:1.5       Mon Mar 30 03:41:25 2026
+++ pkgsrc/databases/mysql80-cluster/distinfo   Sun May 31 10:47:48 2026
@@ -1,16 +1,18 @@
-$NetBSD: distinfo,v 1.5 2026/03/30 03:41:25 jnemeth Exp $
+$NetBSD: distinfo,v 1.6 2026/05/31 10:47:48 jnemeth Exp $
 
 BLAKE2s (boost_1_77_0.tar.bz2) = 11f9651d7078e67a69a97f46dce3131af1f1b3ba5976c26435cd17a66161cbf1
 SHA512 (boost_1_77_0.tar.bz2) = 39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
 Size (boost_1_77_0.tar.bz2) = 110361537 bytes
-BLAKE2s (mysql-cluster-8.0.45.tar.gz) = 9bf2fbe57c8ca9108b66a36d89b4332d8b160722ffe12c2a55268336ebfa26c1
-SHA512 (mysql-cluster-8.0.45.tar.gz) = b325bcdff8617364ec5a42facd68930712bc85b7cda6bd657c270540f112b20d5f65083ab9e64208bfe496815c303905aa0d7194a68e4eb7d5c6773b5f3956a5
-Size (mysql-cluster-8.0.45.tar.gz) = 484342460 bytes
+BLAKE2s (mysql-cluster-8.0.46.tar.gz) = 84c5fbdc7b5f47b5fa4640617b5d3ee9b704423688b689e7a1762254198edb7a
+SHA512 (mysql-cluster-8.0.46.tar.gz) = ec6d20c953ed0b3eafd4b1c0c94f513f67ec25a8b960ecbd65a5e7db69c486dc8186f363f949da60d9dc5941c0a525f6023e55f39fd0b3397bce22db5df2f898
+Size (mysql-cluster-8.0.46.tar.gz) = 484395433 bytes
 SHA1 (patch-CMakeLists.txt) = a248b6793028f094143c57fb629a7b80487b4414
 SHA1 (patch-client_mysqladmin.cc) = 5284dce4df36cc1bdac2749306b163bb066d7742
 SHA1 (patch-cmake_readline.cmake) = 4e902e53b2e2ed83320ad3b3faed250db7933be4
 SHA1 (patch-config.h.cmake) = 76683e4f6722a82f275f34bafb7c5aaafb27dc45
-SHA1 (patch-configure.cmake) = 86aa19d4ba0b713754db0f5dda088f1752b8d4fd
+SHA1 (patch-configure.cmake) = 6480ecc880bbf8b2aa07561bae4b4c364d792ece
+SHA1 (patch-extra_libevent_libevent-2.1.11-stable_kqueue.c) = 2145fca998dbc594662d479f1a93c3147335a01f
+SHA1 (patch-extra_zlib_zlib-1.3.2_gzguts.h) = 8bc5a0843cc4cccea52c4acb8bbef1357238c9e5
 SHA1 (patch-include_my__compare.h) = 8372b32a6e140126265c324ab861eb3f6e32ada0
 SHA1 (patch-include_my__thread.h) = 13617a4a315862355f4539a6fda5cb70b3050dc1
 SHA1 (patch-include_my__thread__os__id.h) = 7e778e6e744116250b353ef4016c0d54bb51dcaa
@@ -31,8 +33,9 @@ SHA1 (patch-scripts_mysqld__safe.sh) = 0
 SHA1 (patch-sql_CMakeLists.txt) = 076085397f2ca7c2675864cf63bf198b1f02ab68
 SHA1 (patch-sql_conn__handler_socket__connection.cc) = 5705d6381bc986fe835261e0e99df5ab8ab1b6fa
 SHA1 (patch-sql_join__optimizer_bit__utils.h) = f37604945c39383448c50d1b57ec146172919bcd
-SHA1 (patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc) = ff155def0b522b3c84ef06438d5e6d59336e6cbe
+SHA1 (patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc) = d62ecb73066436c2407351e992a92d9ef9177902
 SHA1 (patch-storage_innobase_include_detail_ut_large__page__alloc-linux.h) = 195469587bfc24bc71ffc6814ccbd973170a3946
 SHA1 (patch-storage_ndb_src_common_portlib_NdbHW.cpp) = 6ac23cfd535fa2cf14703cca84a865f93d574263
+SHA1 (patch-storage_ndb_src_kernel_blocks_trpman.cpp) = 9d9ba895e93a303a6439ef4b3f187fbfa0e523da
 SHA1 (patch-storage_ndb_src_ndbapi_NdbEventOperationImpl.cpp) = f254045b12424fed85bfe7d9dc4989c04bf78092
 SHA1 (patch-vio_viosocket.cc) = 6aab7e41f0a34a212c91a61ffe1eb2e74090745e

Index: pkgsrc/databases/mysql80-cluster/patches/patch-configure.cmake
diff -u pkgsrc/databases/mysql80-cluster/patches/patch-configure.cmake:1.1 pkgsrc/databases/mysql80-cluster/patches/patch-configure.cmake:1.2
--- pkgsrc/databases/mysql80-cluster/patches/patch-configure.cmake:1.1  Mon Aug  5 01:23:59 2024
+++ pkgsrc/databases/mysql80-cluster/patches/patch-configure.cmake      Sun May 31 10:47:48 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-configure.cmake,v 1.1 2024/08/05 01:23:59 jnemeth Exp $
+$NetBSD: patch-configure.cmake,v 1.2 2026/05/31 10:47:48 jnemeth Exp $
 
---- configure.cmake.orig       2022-03-23 13:49:36.000000000 +0000
+--- configure.cmake.orig       2026-04-07 15:11:55.000000000 +0000
 +++ configure.cmake
-@@ -183,13 +183,9 @@ ENDIF()
+@@ -183,13 +183,9 @@ INCLUDE (CheckIncludeFiles)
  #
  INCLUDE (CheckIncludeFiles)
  
@@ -17,7 +17,7 @@ $NetBSD: patch-configure.cmake,v 1.1 202
  CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)
  CHECK_INCLUDE_FILES (endian.h HAVE_ENDIAN_H)
  CHECK_INCLUDE_FILES (execinfo.h HAVE_EXECINFO_H)
-@@ -238,6 +234,7 @@ CHECK_FUNCTION_EXISTS (fcntl HAVE_FCNTL)
+@@ -241,6 +237,7 @@ CHECK_FUNCTION_EXISTS (fedisableexcept HAVE_FEDISABLEE
  CHECK_FUNCTION_EXISTS (fdatasync HAVE_FDATASYNC)
  CHECK_SYMBOL_EXISTS(fdatasync "unistd.h" HAVE_DECL_FDATASYNC)
  CHECK_FUNCTION_EXISTS (fedisableexcept HAVE_FEDISABLEEXCEPT)
@@ -25,7 +25,7 @@ $NetBSD: patch-configure.cmake,v 1.1 202
  CHECK_FUNCTION_EXISTS (fsync HAVE_FSYNC)
  CHECK_FUNCTION_EXISTS (gethrtime HAVE_GETHRTIME)
  CHECK_FUNCTION_EXISTS (getpass HAVE_GETPASS)
-@@ -298,6 +295,7 @@ CHECK_SYMBOL_EXISTS(TIOCGWINSZ "sys/ioct
+@@ -301,6 +298,7 @@ CHECK_SYMBOL_EXISTS(MADV_DONTDUMP "sys/mman.h" HAVE_MA
  CHECK_SYMBOL_EXISTS(FIONREAD "sys/ioctl.h" FIONREAD_IN_SYS_IOCTL)
  CHECK_SYMBOL_EXISTS(FIONREAD "sys/filio.h" FIONREAD_IN_SYS_FILIO)
  CHECK_SYMBOL_EXISTS(MADV_DONTDUMP "sys/mman.h" HAVE_MADV_DONTDUMP)
@@ -33,18 +33,18 @@ $NetBSD: patch-configure.cmake,v 1.1 202
  CHECK_CXX_SOURCE_COMPILES(
  "#include <sys/types.h>
   #include <sys/stat.h>
-@@ -330,6 +328,14 @@ ELSEIF(HAVE_TIMER_CREATE AND HAVE_TIMER_
+@@ -331,6 +329,14 @@ ELSEIF(HAVE_TIMER_CREATE AND HAVE_TIMER_SETTIME)
+   SET(HAVE_KQUEUE_TIMERS 1 CACHE INTERNAL "Have kqueue timer-related filter")
+ ELSEIF(HAVE_TIMER_CREATE AND HAVE_TIMER_SETTIME)
    SET(HAVE_POSIX_TIMERS 1 CACHE INTERNAL "Have POSIX timer-related functions")
- ENDIF()
- 
++ENDIF()
++
 +IF (NOT HAVE_EVFILT_USER)
 +  SET(HAVE_KQUEUE 0)
 +  SET(HAVE_KQUEUE_TIMERS 0)
 +  IF(HAVE_TIMER_CREATE AND HAVE_TIMER_SETTIME)
 +    SET(HAVE_POSIX_TIMERS 1 CACHE INTERNAL "Have POSIX timer-related functions")
 +  ENDIF()
-+ENDIF()
-+
- IF(NOT HAVE_POSIX_TIMERS AND NOT HAVE_KQUEUE_TIMERS AND NOT WIN32)
-   MESSAGE(FATAL_ERROR "No mysys timer support detected!")
  ENDIF()
+ 
+ IF(NOT HAVE_POSIX_TIMERS AND NOT HAVE_KQUEUE_TIMERS AND NOT WIN32)
Index: pkgsrc/databases/mysql80-cluster/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc
diff -u pkgsrc/databases/mysql80-cluster/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc:1.1 
pkgsrc/databases/mysql80-cluster/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc:1.2
--- pkgsrc/databases/mysql80-cluster/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc:1.1 Mon Aug  5 01:24:00 2024
+++ pkgsrc/databases/mysql80-cluster/patches/patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc     Sun May 31 10:47:48 2026
@@ -1,20 +1,20 @@
-$NetBSD: patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc,v 1.1 2024/08/05 01:24:00 jnemeth Exp $
+$NetBSD: patch-sql_resourcegroups_platform_thread__attrs__api__apple.cc,v 1.2 2026/05/31 10:47:48 jnemeth Exp $
 
---- sql/resourcegroups/platform/thread_attrs_api_apple.cc.orig 2022-03-23 13:49:36.000000000 +0000
+--- sql/resourcegroups/platform/thread_attrs_api_apple.cc.orig 2026-04-07 15:11:55.000000000 +0000
 +++ sql/resourcegroups/platform/thread_attrs_api_apple.cc
-@@ -84,14 +84,27 @@ bool set_thread_priority(int, my_thread_
+@@ -85,14 +85,27 @@ uint32_t num_vcpus_using_affinity() { return 0; }
  
  uint32_t num_vcpus_using_affinity() { return 0; }
  
 +#ifdef IRIX5
 +#include <sys/sysmp.h>
 +
-+uint32_t num_vcpus_using_config() {
+ uint32_t num_vcpus_using_config() {
 +  return sysmp(MP_NAPROCS);
 +}
 +#else
 +
- uint32_t num_vcpus_using_config() {
++uint32_t num_vcpus_using_config() {
 +#ifdef HW_AVAILCPU
    int name[2] = {CTL_HW, HW_AVAILCPU};
 +#else

Added files:

Index: pkgsrc/databases/mysql80-cluster/patches/patch-extra_libevent_libevent-2.1.11-stable_kqueue.c
diff -u /dev/null pkgsrc/databases/mysql80-cluster/patches/patch-extra_libevent_libevent-2.1.11-stable_kqueue.c:1.1
--- /dev/null   Sun May 31 10:47:49 2026
+++ pkgsrc/databases/mysql80-cluster/patches/patch-extra_libevent_libevent-2.1.11-stable_kqueue.c       Sun May 31 10:47:48 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-extra_libevent_libevent-2.1.11-stable_kqueue.c,v 1.1 2026/05/31 10:47:48 jnemeth Exp $
+
+--- extra/libevent/libevent-2.1.11-stable/kqueue.c.orig        2026-05-25 01:59:51.791019114 +0000
++++ extra/libevent/libevent-2.1.11-stable/kqueue.c
+@@ -51,7 +51,7 @@
+ /* Some platforms apparently define the udata field of struct kevent as
+  * intptr_t, whereas others define it as void*.  There doesn't seem to be an
+  * easy way to tell them apart via autoconf, so we need to use OS macros. */
+-#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__)
++#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__) && !defined(__NetBSD__)
+ #define PTR_TO_UDATA(x)       ((intptr_t)(x))
+ #define INT_TO_UDATA(x) ((intptr_t)(x))
+ #else
Index: pkgsrc/databases/mysql80-cluster/patches/patch-extra_zlib_zlib-1.3.2_gzguts.h
diff -u /dev/null pkgsrc/databases/mysql80-cluster/patches/patch-extra_zlib_zlib-1.3.2_gzguts.h:1.1
--- /dev/null   Sun May 31 10:47:49 2026
+++ pkgsrc/databases/mysql80-cluster/patches/patch-extra_zlib_zlib-1.3.2_gzguts.h       Sun May 31 10:47:48 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-extra_zlib_zlib-1.3.2_gzguts.h,v 1.1 2026/05/31 10:47:48 jnemeth Exp $
+
+--- extra/zlib/zlib-1.3.2/gzguts.h.orig        2026-05-25 01:48:03.077284261 +0000
++++ extra/zlib/zlib-1.3.2/gzguts.h
+@@ -35,6 +35,7 @@
+ #  include <string.h>
+ #  include <stdlib.h>
+ #  include <limits.h>
++#  include <unistd.h>
+ #endif
+ 
+ #ifndef _POSIX_C_SOURCE
Index: pkgsrc/databases/mysql80-cluster/patches/patch-storage_ndb_src_kernel_blocks_trpman.cpp
diff -u /dev/null pkgsrc/databases/mysql80-cluster/patches/patch-storage_ndb_src_kernel_blocks_trpman.cpp:1.1
--- /dev/null   Sun May 31 10:47:49 2026
+++ pkgsrc/databases/mysql80-cluster/patches/patch-storage_ndb_src_kernel_blocks_trpman.cpp     Sun May 31 10:47:48 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-storage_ndb_src_kernel_blocks_trpman.cpp,v 1.1 2026/05/31 10:47:48 jnemeth Exp $
+
+--- storage/ndb/src/kernel/blocks/trpman.cpp.orig      2026-05-25 04:00:24.695299691 +0000
++++ storage/ndb/src/kernel/blocks/trpman.cpp
+@@ -23,6 +23,8 @@
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
+ */
+ 
++#include <cmath>
++
+ #include "trpman.hpp"
+ #include "EventLogger.hpp"
+ #include "TransporterRegistry.hpp"



Home | Main Index | Thread Index | Old Index