1 |
commit: 0dbe576f6001ea47c6062c4208c21361cd8add32 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 7 12:36:11 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 12:52:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbe576f |
7 |
|
8 |
sci-visualization/kst: Fix FindGetdata.cmake |
9 |
|
10 |
Closes: https://bugs.gentoo.org/593848 |
11 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../kst-2.0.8-getdata-drop-bogus-lib_debug.patch | 23 ++++++++++++++++++++++ |
15 |
1 file changed, 23 insertions(+) |
16 |
|
17 |
diff --git a/sci-visualization/kst/files/kst-2.0.8-getdata-drop-bogus-lib_debug.patch b/sci-visualization/kst/files/kst-2.0.8-getdata-drop-bogus-lib_debug.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..07baa1a32ab |
20 |
--- /dev/null |
21 |
+++ b/sci-visualization/kst/files/kst-2.0.8-getdata-drop-bogus-lib_debug.patch |
22 |
@@ -0,0 +1,23 @@ |
23 |
+--- a/cmake/modules/FindGetdata.cmake 2014-02-13 10:41:44.000000000 +0100 |
24 |
++++ b/cmake/modules/FindGetdata.cmake 2021-09-07 14:32:16.248930734 +0200 |
25 |
+@@ -49,19 +49,9 @@ |
26 |
+ PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS}) |
27 |
+ list(APPEND GETDATA_LIBRARIES_RELEASE ${lib_release}) |
28 |
+ list(APPEND GETDATA_LIBRARIES_BOTH optimized ${lib_release}) |
29 |
+- set(lib_debug lib_debug-NOTFOUND CACHE STRING "" FORCE) |
30 |
+- FIND_LIBRARY(lib_debug ${it}d |
31 |
+- HINTS ENV GETDATA_DIR PATH_SUFFIXES lib |
32 |
+- PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS}) |
33 |
+- list(APPEND GETDATA_LIBRARIES_DEBUG ${lib_debug}) |
34 |
+- list(APPEND GETDATA_LIBRARIES_BOTH debug ${lib_debug}) |
35 |
+ endforeach() |
36 |
+ |
37 |
+-if(GETDATA_LIBRARIES_DEBUG AND GETDATA_LIBRARIES_RELEASE) |
38 |
+- set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_BOTH} CACHE STRING "" FORCE) |
39 |
+-else() |
40 |
+- set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE} CACHE STRING "" FORCE) |
41 |
+-endif() |
42 |
++set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE} CACHE STRING "" FORCE) |
43 |
+ |
44 |
+ endif() |
45 |
+ |