diff options
| author | Jake Buchholz <tomalok@gmail.com> | 2020-01-28 04:07:27 +0000 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-01-31 21:38:38 +0100 |
| commit | 13b8c9984e61bb8b811dbd40146472ac3fa16a9b (patch) | |
| tree | d593757285ae1de530299a6a3c5bbfc0c3045069 /testing/galera/musl-sched_param.patch | |
| parent | d6358b30f8c462da588d281d3e615f18f6e1ca33 (diff) | |
| download | aports-13b8c9984e61bb8b811dbd40146472ac3fa16a9b.tar.bz2 aports-13b8c9984e61bb8b811dbd40146472ac3fa16a9b.tar.xz | |
testing/galera: new aport
* galera = wsrep provider for mariadb
* galera-arbitrator = arbitrator daemon to provide quorum for clusters with even numbers of databases
Diffstat (limited to 'testing/galera/musl-sched_param.patch')
| -rw-r--r-- | testing/galera/musl-sched_param.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/galera/musl-sched_param.patch b/testing/galera/musl-sched_param.patch new file mode 100644 index 0000000000..ef8640aa4b --- /dev/null +++ b/testing/galera/musl-sched_param.patch @@ -0,0 +1,12 @@ +--- a/galerautils/src/gu_thread.cpp ++++ b/galerautils/src/gu_thread.cpp +@@ -87,7 +87,8 @@ + #if defined(__sun__) + struct sched_param spstr = { sp.prio(), { 0, } /* sched_pad array */}; + #else +- struct sched_param spstr = { sp.prio() }; ++ /* musl has some reserved fields in sched_param... */ ++ struct sched_param spstr = { sp.prio(), 0, 0, 0, 0, 0, 0 }; + #endif + int err; + if ((err = pthread_setschedparam(thd, sp.policy(), &spstr)) != 0) |
