* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/kst/files/
@ 2021-09-07 12:52 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2021-09-07 12:52 UTC (permalink / raw
To: gentoo-commits
commit: 0dbe576f6001ea47c6062c4208c21361cd8add32
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 7 12:36:11 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep 7 12:52:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbe576f
sci-visualization/kst: Fix FindGetdata.cmake
Closes: https://bugs.gentoo.org/593848
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../kst-2.0.8-getdata-drop-bogus-lib_debug.patch | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
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
new file mode 100644
index 00000000000..07baa1a32ab
--- /dev/null
+++ b/sci-visualization/kst/files/kst-2.0.8-getdata-drop-bogus-lib_debug.patch
@@ -0,0 +1,23 @@
+--- a/cmake/modules/FindGetdata.cmake 2014-02-13 10:41:44.000000000 +0100
++++ b/cmake/modules/FindGetdata.cmake 2021-09-07 14:32:16.248930734 +0200
+@@ -49,19 +49,9 @@
+ PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS})
+ list(APPEND GETDATA_LIBRARIES_RELEASE ${lib_release})
+ list(APPEND GETDATA_LIBRARIES_BOTH optimized ${lib_release})
+- set(lib_debug lib_debug-NOTFOUND CACHE STRING "" FORCE)
+- FIND_LIBRARY(lib_debug ${it}d
+- HINTS ENV GETDATA_DIR PATH_SUFFIXES lib
+- PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS})
+- list(APPEND GETDATA_LIBRARIES_DEBUG ${lib_debug})
+- list(APPEND GETDATA_LIBRARIES_BOTH debug ${lib_debug})
+ endforeach()
+
+-if(GETDATA_LIBRARIES_DEBUG AND GETDATA_LIBRARIES_RELEASE)
+- set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_BOTH} CACHE STRING "" FORCE)
+-else()
+- set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE} CACHE STRING "" FORCE)
+-endif()
++set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE} CACHE STRING "" FORCE)
+
+ endif()
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-07 12:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-07 12:52 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/kst/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox