From ea80fbcfb7efa2d9d7cde11f8439a95d60daddac Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Fri, 3 Apr 2026 20:50:48 +0200 Subject: [PATCH] sci-astronomy/siril: fix compilation on Musl Closes: https://bugs.gentoo.org/970934 Signed-off-by: Mario Haustein Part-of: https://github.com/gentoo/gentoo/pull/46059 Closes: https://github.com/gentoo/gentoo/pull/46059 Signed-off-by: Sam James --- .../siril/files/siril-1.4.0-cdefs.patch | 20 +++++++++++++++++++ sci-astronomy/siril/siril-1.4.0-r1.ebuild | 1 + 2 files changed, 21 insertions(+) create mode 100644 sci-astronomy/siril/files/siril-1.4.0-cdefs.patch diff --git a/sci-astronomy/siril/files/siril-1.4.0-cdefs.patch b/sci-astronomy/siril/files/siril-1.4.0-cdefs.patch new file mode 100644 index 0000000000000..bca86370ff984 --- /dev/null +++ b/sci-astronomy/siril/files/siril-1.4.0-cdefs.patch @@ -0,0 +1,20 @@ +From 0f713a18c1db6dbd1bcd3234861bdb1a66f79809 Mon Sep 17 00:00:00 2001 +From: Adrian Knagg-Baugh +Date: Fri, 13 Mar 2026 19:58:47 +0000 +Subject: [PATCH] Remove unused header that was problematic on Musl systems + (fixes #1930) + +--- a/src/io/siril_pythonmodule.h ++++ b/src/io/siril_pythonmodule.h +@@ -1,8 +1,6 @@ + #ifndef SRC_IO_SIRIL_PYTHONMODULE_H + #define SRC_IO_SIRIL_PYTHONMODULE_H + +-// Status codes for command responses +-#include + // siril_plot_data + #include "io/siril_plot.h" + +-- +GitLab + diff --git a/sci-astronomy/siril/siril-1.4.0-r1.ebuild b/sci-astronomy/siril/siril-1.4.0-r1.ebuild index 7993331ed9792..df637ad2d6070 100644 --- a/sci-astronomy/siril/siril-1.4.0-r1.ebuild +++ b/sci-astronomy/siril/siril-1.4.0-r1.ebuild @@ -70,6 +70,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.4.0-libgit2.patch" "${FILESDIR}/${PN}-1.4.0-libjpeg.patch" "${FILESDIR}/${PN}-1.4.0-libcurl.patch" + "${FILESDIR}/${PN}-1.4.0-cdefs.patch" ) DOCS=( README.md ChangeLog AUTHORS )