commit:     316828c1511c24ea1242f163327d3bfc48b49acb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 21 18:36:14 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb  5 23:25:59 2026 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=316828c1

sci-astronomy/kstars: Fix build

Fixes 85f95ebb04c5feecb722293529f5c5ef9da8a252

Closes: https://bugs.gentoo.org/967604
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kstars/files/kstars-3.7.4-cmake.patch          | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

diff --git a/sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch 
b/sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch
index d055ae6e07..e8ae537437 100644
--- a/sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch
+++ b/sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch
@@ -5,31 +5,13 @@ Subject: [PATCH] Thanks, but no thanks
 
 Signed-off-by: Andreas Sturmlechner <[email protected]>
 ---
- CMakeLists.txt | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
+ CMakeLists.txt | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
 index a3b591512..31071aeef 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -345,7 +345,7 @@ add_definitions(-DQT_NO_CAST_TO_ASCII)
- # Needed for htmesh, and libraw
- kde_enable_exceptions()
- 
--if (UNIX)
-+if (0)
- 
-   # TEMPORARY: To disable QCustomPlot warning until 2.0.0 is released which 
fixes these warnings
-   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-non-virtual-dtor")
-@@ -355,7 +355,7 @@ if (UNIX)
-     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdata-sections 
-ffunction-sections")
-     set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gc-sections")
-   endif()
--endif(UNIX)
-+endif()
- 
- # Optimize binary size by dropping unneeded symbols at linking stage
- if (ANDROID)
 @@ -364,7 +364,7 @@ if (ANDROID)
  endif ()
  

Reply via email to