commit:     933b706ea4901f2d908fa02265ba6eb4d402946e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  5 23:54:23 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb  5 23:54:23 2026 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=933b706e

sci-astronomy/kstars: Rebase cmake.patch on top of 3.8.1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...-3.7.4-cmake.patch => kstars-3.8.1-cmake.patch} | 30 +++++++++++-----------
 sci-astronomy/kstars/kstars-9999.ebuild            |  2 +-
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch 
b/sci-astronomy/kstars/files/kstars-3.8.1-cmake.patch
similarity index 73%
rename from sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch
rename to sci-astronomy/kstars/files/kstars-3.8.1-cmake.patch
index e8ae537437..ddafaa67cd 100644
--- a/sci-astronomy/kstars/files/kstars-3.7.4-cmake.patch
+++ b/sci-astronomy/kstars/files/kstars-3.8.1-cmake.patch
@@ -1,4 +1,4 @@
-From 7e5a75da29016e533d59971ba84931b33e072a81 Mon Sep 17 00:00:00 2001
+From 98c9e687ba0480cbec1df2b2a64817c0c08add7e Mon Sep 17 00:00:00 2001
 From: Andreas Sturmlechner <[email protected]>
 Date: Tue, 3 Dec 2024 19:46:01 +0100
 Subject: [PATCH] Thanks, but no thanks
@@ -9,10 +9,19 @@ Signed-off-by: Andreas Sturmlechner <[email protected]>
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a3b591512..31071aeef 100644
+index 8e2153462..dd2d64788 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -364,7 +364,7 @@ if (ANDROID)
+@@ -363,7 +363,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)
+@@ -372,7 +372,7 @@ if (ANDROID)
  endif ()
  
  # Add security (hardening flags)
@@ -21,16 +30,7 @@ index a3b591512..31071aeef 100644
      SET(SEC_COMP_FLAGS "${SEC_COMP_FLAGS} -fstack-protector-all -Wcast-align 
-fPIE")
      # This is ill-defined, but I searched for a solution for quite a long 
time to no avail
      # - FORTIFY_SOURCE generates a warning when there is no code 
optimization, and warnings will become errors at some point
-@@ -396,7 +396,7 @@ IF (UNIX OR APPLE OR ANDROID)
- ENDIF ()
- 
- # Clang Format support
--IF (UNIX OR APPLE)
-+IF (0)
-     SET(FORMAT_CODE OFF CACHE BOOL "Enable Clang Format")
-     IF (FORMAT_CODE MATCHES ON)
-         FILE(GLOB_RECURSE ALL_SOURCE_FILES *.c *.cpp *.h)
-@@ -417,7 +417,7 @@ ENDIF ()
+@@ -405,7 +405,7 @@ ENDIF ()
  
  SET(FIX_WARNINGS OFF CACHE BOOL "Enable strict compilation mode to turn 
compiler warnings to errors")
  # Warning, debug and linker flags
@@ -39,7 +39,7 @@ index a3b591512..31071aeef 100644
      SET(COMP_FLAGS "")
      SET(LINKER_FLAGS "")
      # Verbose warnings and turns all to errors
-@@ -481,7 +481,7 @@ ENDIF ()
+@@ -469,7 +469,7 @@ ENDIF ()
  
  # Sanitizer support
  SET(SANITIZERS OFF CACHE BOOL "Sanitizer support for gcc and Clang")
@@ -49,5 +49,5 @@ index a3b591512..31071aeef 100644
       (APPLE AND (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR 
CMAKE_COMPILER_IS_GNUCXX))))
      SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address,undefined 
-fno-omit-frame-pointer")
 -- 
-2.51.0
+2.53.0
 

diff --git a/sci-astronomy/kstars/kstars-9999.ebuild 
b/sci-astronomy/kstars/kstars-9999.ebuild
index b9f355a0fc..f28c68a481 100644
--- a/sci-astronomy/kstars/kstars-9999.ebuild
+++ b/sci-astronomy/kstars/kstars-9999.ebuild
@@ -75,7 +75,7 @@ CMAKE_SKIP_TESTS=(
 
 PATCHES=(
        # downstream patch
-       "${FILESDIR}"/${PN}-3.7.4-cmake.patch # bug 895892
+       "${FILESDIR}"/${PN}-3.8.1-cmake.patch # bug 895892
 )
 
 src_configure() {

Reply via email to