ports/databases/mysql84-server/files/patch-storage_innobase_include_srv0mon.h
Jochen Neumeister 3c10befc00 databases/mysql84-{server|client}: add new Ports
Welcome MySQL 8.4

What is new in MySQL8.4 since MySQL 8.0:
https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html

HINT: MySQL8.2+ supports only 64-bit platforms!!!

special thanks for the majority of the work on this port: samm aka Alex
S.
2024-05-24 18:15:44 +02:00

13 lines
465 B
C

--- storage/innobase/include/srv0mon.h.orig 2024-04-10 06:26:28 UTC
+++ storage/innobase/include/srv0mon.h
@@ -41,6 +41,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
/* Required for FreeBSD so that INT64_MAX is defined. */
#define __STDC_LIMIT_MACROS
#endif /* __STDC_LIMIT_MACROS */
+#ifdef __DragonFly__
+/* The hack above doen't work for dragonfly, stdint.h already imported */
+#include <machine/int_limits.h>
+#endif
#include <stdint.h>