sci-astronomy/siril: fix compilation on Musl

Closes: https://bugs.gentoo.org/970934
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/46059
Closes: https://github.com/gentoo/gentoo/pull/46059
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein
2026-06-23 02:20:30 +01:00
committed by Sam James
parent 35e58548a6
commit ea80fbcfb7
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,20 @@
From 0f713a18c1db6dbd1bcd3234861bdb1a66f79809 Mon Sep 17 00:00:00 2001
From: Adrian Knagg-Baugh <aje.baugh@gmail.com>
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 <sys/cdefs.h>
// siril_plot_data
#include "io/siril_plot.h"
--
GitLab
@@ -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 )