nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

percona-server_8_{0,4}: fix build on aarch64-linux

+14
+1
pkgs/servers/sql/percona-server/8_0.nix
··· 63 63 64 64 patches = [ 65 65 ./no-force-outline-atomics.patch # Do not force compilers to turn on -moutline-atomics switch 66 + ./coredumper-explicitly-import-unistd.patch # fix build on aarch64-linux 66 67 ]; 67 68 68 69 ## NOTE: MySQL upstream frequently twiddles the invocations of libtool. When updating, you might proactively grep for libtool references.
+1
pkgs/servers/sql/percona-server/8_4.nix
··· 71 71 72 72 patches = [ 73 73 ./no-force-outline-atomics.patch # Do not force compilers to turn on -moutline-atomics switch 74 + ./coredumper-explicitly-import-unistd.patch # fix build on aarch64-linux 74 75 ]; 75 76 76 77 ## NOTE: MySQL upstream frequently twiddles the invocations of libtool. When updating, you might proactively grep for libtool references.
+12
pkgs/servers/sql/percona-server/coredumper-explicitly-import-unistd.patch
··· 1 + diff --git a/extra/coredumper/src/thread_lister.c b/extra/coredumper/src/thread_lister.c 2 + index 15fedac..181889b 100644 3 + --- a/extra/coredumper/src/thread_lister.c 4 + +++ b/extra/coredumper/src/thread_lister.c 5 + @@ -35,6 +35,7 @@ 6 + 7 + #include <stdio.h> /* needed for NULL on some powerpc platforms (?!) */ 8 + #include <sys/prctl.h> 9 + +#include <unistd.h> 10 + 11 + #include "linuxthreads.h" 12 + /* Include other thread listers here that define THREADS macro