summaryrefslogtreecommitdiff
path: root/dev-util/hotspot/files
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-05-20 21:11:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-05-20 21:11:30 +0100
commit21ceaa8dd5c0d63b6760893911ca55aa28d15038 (patch)
tree945e1a6731efe1844921ff7f81a665e520134721 /dev-util/hotspot/files
parentFix KDDockWidgets license (diff)
downloadkdab-21ceaa8dd5c0d63b6760893911ca55aa28d15038.tar.bz2
kdab-21ceaa8dd5c0d63b6760893911ca55aa28d15038.tar.xz
kdab-21ceaa8dd5c0d63b6760893911ca55aa28d15038.zip
Bump hotspot v1.4.1
Diffstat (limited to 'dev-util/hotspot/files')
-rw-r--r--dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch b/dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch
new file mode 100644
index 0000000..3415b3e
--- /dev/null
+++ b/dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch
@@ -0,0 +1,27 @@
+From 3b42145fe60f38e1b35bd4140ca967c496606dd8 Mon Sep 17 00:00:00 2001
+From: DarkDefender <darkdefende@gmail.com>
+Date: Mon, 30 Jan 2023 15:06:04 +0100
+Subject: [PATCH] Make libdebugd check in perfparser.cmake take into account
+ library status
+
+There are cases where `HAVE_DWFL_GET_DEBUGINFOD_CLIENT` can be true
+while `LIBDEBUGINFOD_LIBRARIES` is marked as "NOT-FOUND".
+
+Add extra check to take this into account.
+---
+ 3rdparty/perfparser.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/3rdparty/perfparser.cmake b/3rdparty/perfparser.cmake
+index fc401a7d..a5f64b07 100644
+--- a/3rdparty/perfparser.cmake
++++ b/3rdparty/perfparser.cmake
+@@ -44,7 +44,7 @@ if (Zstd_FOUND)
+ target_compile_definitions(libhotspot-perfparser PUBLIC HAVE_ZSTD=1)
+ endif()
+
+-if (HAVE_DWFL_GET_DEBUGINFOD_CLIENT)
++if (HAVE_DWFL_GET_DEBUGINFOD_CLIENT AND LIBDEBUGINFOD_LIBRARIES)
+ target_link_libraries(libhotspot-perfparser PRIVATE ${LIBDEBUGINFOD_LIBRARIES})
+ target_compile_definitions(libhotspot-perfparser PRIVATE HAVE_DWFL_GET_DEBUGINFOD_CLIENT=1)
+ endif()