diff --git a/dev-util/cmake/patches/cmake-3.15.3.patchset b/dev-util/cmake/patches/cmake-3.15.3.patchset index c61759458..b6ecbbae8 100644 --- a/dev-util/cmake/patches/cmake-3.15.3.patchset +++ b/dev-util/cmake/patches/cmake-3.15.3.patchset @@ -1,4 +1,4 @@ -From c572e6e07f1531701a2e8575842e484714cbc436 Mon Sep 17 00:00:00 2001 +From a6b6d2731e3dd373ab72225b3da2054417da4e37 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 21 Nov 2015 22:02:38 +0000 Subject: Haiku provides elf.h now. @@ -51,7 +51,7 @@ index 2226463..bce4aba 100644 2.21.0 -From 1c3b9dd08728747a8c8f91b48430509c91b4f869 Mon Sep 17 00:00:00 2001 +From fcef3e95d502aa61d419ab4743e57e76660fb181 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 24 Mar 2018 14:19:43 +0100 Subject: Fix search path for Lua headers. @@ -74,7 +74,7 @@ index 283a3eb..8fd73f2 100644 2.21.0 -From 080db38bb96b8583220d4e3c8bea1e2233e8eece Mon Sep 17 00:00:00 2001 +From 2e4d0d60f5caa01c64e403b0b5941fe26dd5893a Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 7 Sep 2019 17:04:46 +0200 Subject: unsupported features. @@ -106,7 +106,7 @@ index a8d6adb..5cb3ad0 100644 2.21.0 -From 3704f28d614593f068e2cdc31455794ee0803baf Mon Sep 17 00:00:00 2001 +From 2a90b752a7a651a8936796f9886a2b2c0668fff8 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 7 Sep 2019 17:29:56 +0200 Subject: links against libnetwork @@ -129,3 +129,38 @@ index 38fa32b..3754c2f 100755 -- 2.21.0 + +From d69150db539e8d6d50d6c171361880d3e354ac14 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Sat, 7 Sep 2019 23:46:47 +0200 +Subject: bootstrap uses cmlibuv + + +diff --git a/Utilities/cmlibuv/src/unix/core.c b/Utilities/cmlibuv/src/unix/core.c +index 5cb3ad0..7c6fd5e 100644 +--- a/Utilities/cmlibuv/src/unix/core.c ++++ b/Utilities/cmlibuv/src/unix/core.c +@@ -1351,7 +1351,9 @@ int uv_os_getpriority(uv_pid_t pid, int* priority) { + return UV_EINVAL; + + errno = 0; ++#ifndef __HAIKU__ + r = getpriority(PRIO_PROCESS, (int) pid); ++#endif + + if (r == -1 && errno != 0) + return UV__ERR(errno); +@@ -1365,8 +1367,10 @@ int uv_os_setpriority(uv_pid_t pid, int priority) { + if (priority < UV_PRIORITY_HIGHEST || priority > UV_PRIORITY_LOW) + return UV_EINVAL; + ++#ifndef __HAIKU__ + if (setpriority(PRIO_PROCESS, (int) pid, priority) != 0) + return UV__ERR(errno); ++#endif + + return 0; + } +-- +2.21.0 +