dev-libs/rocr-runtime: update rocr-runtime-5.7.1-musl patch to fix build failure

Closes: https://bugs.gentoo.org/927274
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-06-26 10:18:55 +01:00
committed by Sam James
parent d6d4e60335
commit 2fc044d13f
@@ -23,6 +23,17 @@ Bug: https://github.com/ROCm/ROCR-Runtime/issues/181
}
hsa_signal_value_t BusyWaitSignal::LoadRelaxed() {
--- a/core/runtime/hsa.cpp
+++ b/core/runtime/hsa.cpp
@@ -155,7 +155,7 @@ template <class T> struct ValidityError<const T*> {
template <class T>
static __forceinline bool IsValid(T* ptr) {
- return (ptr == NULL) ? NULL : ptr->IsValid();
+ return (ptr == NULL) ? false : ptr->IsValid();
}
namespace AMD {
--- a/core/util/lnx/os_linux.cpp
+++ b/core/util/lnx/os_linux.cpp
@@ -111,9 +111,12 @@ class os_thread {