diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-06-16 18:16:54 +0200 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-06-16 18:19:01 +0200 |
commit | c677c1942140a196a7ea8f9878f958fcc90a37f5 (patch) | |
tree | d86ad8205a2b5ab6d41b46221d6c308b42849319 | |
parent | devel/avr-libc: Upgrade to 2.2.0 (diff) |
databases/mariadb114-server: fix build on powerpc64*
Same as previous mariadb fixes.
-rw-r--r-- | databases/mariadb114-server/files/patch-mysys_crc32_crc32c.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mariadb114-server/files/patch-mysys_crc32_crc32c.cc b/databases/mariadb114-server/files/patch-mysys_crc32_crc32c.cc new file mode 100644 index 000000000000..86261dbdc160 --- /dev/null +++ b/databases/mariadb114-server/files/patch-mysys_crc32_crc32c.cc @@ -0,0 +1,11 @@ +--- mysys/crc32/crc32c.cc.orig 2024-06-14 12:14:03 UTC ++++ mysys/crc32/crc32c.cc +@@ -455,7 +455,7 @@ static int arch_ppc_probe(void) { + + return arch_ppc_crc32; + } +-# elif defined __FreeBSD_version && __FreeBSD_version >= 1200000 ++# elif defined __FreeBSD__ + # include <machine/cpu.h> + # include <sys/auxv.h> + # include <sys/elf_common.h> |