mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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.
This commit is contained in:
parent
94eeb38db7
commit
3a77cd2cfa
1 changed files with 11 additions and 0 deletions
|
@ -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>
|
Loading…
Add table
Reference in a new issue