git: 3a77cd2cfa71 - main - databases/mariadb1011-server: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jun 2024 10:09:45 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a77cd2cfa71ebd47843726a511d2f5f99334f0c commit 3a77cd2cfa71ebd47843726a511d2f5f99334f0c Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-06-14 12:25:23 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-06-15 10:09:34 +0000 databases/mariadb1011-server: fix build on powerpc64* /wrkdirs/usr/ports/databases/mariadb1011-client/work/mariadb-10.11.8/mysys/crc32/crc32c.cc:498:7: error: use of undeclared identifier 'arch_ppc_probe' 498 | if (arch_ppc_probe()) | ^ 1 error generated. --- .../mariadb1011-server/files/patch-mysys_crc32_crc32c.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/databases/mariadb1011-server/files/patch-mysys_crc32_crc32c.cc b/databases/mariadb1011-server/files/patch-mysys_crc32_crc32c.cc new file mode 100644 index 000000000000..86261dbdc160 --- /dev/null +++ b/databases/mariadb1011-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>