ports/databases/mysql80-server/files/patch-storage_innobase_include_ut0crc32.h
Jochen Neumeister bbc7f225ad databases/mysql80-server: Fix build
Fix aarch64 (1) and i386 (2) build

Reported by:	fluffy (1)
PR:	274918 (2) Martin Birgmeier <d8zNeCFG@aon.at>

Sponsored by:	Netzkommune GmbH
2023-12-01 06:45:32 +01:00

13 lines
377 B
C

--- storage/innobase/include/ut0crc32.h.orig 2023-11-27 21:02:58.728994000 +0100
+++ storage/innobase/include/ut0crc32.h 2023-11-27 21:04:10.010362000 +0100
@@ -132,7 +132,9 @@ CRC32_DEFAULT
#endif /* CRC32_ARM64 */
#ifdef CRC32_ARM64_DEFAULT
+#ifndef __FreeBSD__
#include <asm/hwcap.h>
+#endif /* __FreeBSD__ */
#include <sys/auxv.h>
#endif /* CRC32_ARM64_DEFAULT */