commit:     829ca8009b9b9b7d287d9d62ed97908c67f07fac
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 08:04:56 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 18 15:54:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=829ca800

sci-astronomy/kstars: Fix build with GCC-15

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

 .../kstars/files/kstars-3.7.5-gcc15.patch          | 25 ++++++++++++++++++++++
 sci-astronomy/kstars/kstars-3.7.5-r1.ebuild        |  1 +
 2 files changed, 26 insertions(+)

diff --git a/sci-astronomy/kstars/files/kstars-3.7.5-gcc15.patch 
b/sci-astronomy/kstars/files/kstars-3.7.5-gcc15.patch
new file mode 100644
index 000000000000..81446cf317e2
--- /dev/null
+++ b/sci-astronomy/kstars/files/kstars-3.7.5-gcc15.patch
@@ -0,0 +1,25 @@
+From 112d61819075f3e5a7def72deb2b5055fd6ad91f Mon Sep 17 00:00:00 2001
+From: Jasem Mutlaq <[email protected]>
+Date: Sat, 10 May 2025 10:05:24 +0300
+Subject: [PATCH] Fix build with GCC-15
+
+* asturm 2025-05-18: Split from unrelated changes.
+
+---
+ kstars/auxiliary/gslhelpers.h              |  1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/kstars/auxiliary/gslhelpers.h b/kstars/auxiliary/gslhelpers.h
+index ebd29480fc..8ef9e2bc76 100644
+--- a/kstars/auxiliary/gslhelpers.h
++++ b/kstars/auxiliary/gslhelpers.h
+@@ -7,6 +7,7 @@
+ #pragma once
+ 
+ #include <memory>
++#include <cstdint>
+ #include <gsl/gsl_vector.h>
+ #include <gsl/gsl_sort.h>
+ #include <gsl/gsl_statistics.h>
+-- 
+GitLab

diff --git a/sci-astronomy/kstars/kstars-3.7.5-r1.ebuild 
b/sci-astronomy/kstars/kstars-3.7.5-r1.ebuild
index a7c834fa73fb..a55d1c5b2ac5 100644
--- a/sci-astronomy/kstars/kstars-3.7.5-r1.ebuild
+++ b/sci-astronomy/kstars/kstars-3.7.5-r1.ebuild
@@ -84,6 +84,7 @@ PATCHES=(
        # downstream patches
        "${FILESDIR}"/${PN}-3.7.{4,5}-cmake.patch # bug 895892
        "${FILESDIR}"/${P}-cmake-install-paths.patch # bug 953100
+       "${FILESDIR}"/${PN}-3.7.5-gcc15.patch # bug 956122
 )
 
 src_configure() {

Reply via email to