diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2024-03-24 17:47:17 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-26 10:18:55 +0100 |
commit | 2fc044d13f0b2b014c4dc5ffda19adb3606b71d6 (patch) | |
tree | 3cf6b0a488beb28e0da27c8d0a76af00e6b969d9 | |
parent | dev-libs/rocr-runtime: update extend-isa-compatibility-check patch for gfx1012 (diff) | |
download | gentoo-2fc044d13f0b2b014c4dc5ffda19adb3606b71d6.tar.gz gentoo-2fc044d13f0b2b014c4dc5ffda19adb3606b71d6.tar.bz2 gentoo-2fc044d13f0b2b014c4dc5ffda19adb3606b71d6.zip |
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>
-rw-r--r-- | dev-libs/rocr-runtime/files/rocr-runtime-5.7.1-musl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/rocr-runtime/files/rocr-runtime-5.7.1-musl.patch b/dev-libs/rocr-runtime/files/rocr-runtime-5.7.1-musl.patch index 0e8e53209738..13d731adb3a2 100644 --- a/dev-libs/rocr-runtime/files/rocr-runtime-5.7.1-musl.patch +++ b/dev-libs/rocr-runtime/files/rocr-runtime-5.7.1-musl.patch @@ -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 { |