commit:     66fc721bb42f1040907c6e4f3d3e810405cc23e1
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  8 11:19:56 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Nov  8 11:55:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66fc721b

sci-visualization/spyview: patch for musl

Closes: https://bugs.gentoo.org/874411
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 .../spyview/files/spyview-2018.12.24-musl.patch              | 12 ++++++++++++
 sci-visualization/spyview/spyview-2018.12.24-r1.ebuild       |  3 ++-
 sci-visualization/spyview/spyview-9999.ebuild                |  3 ++-
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/spyview/files/spyview-2018.12.24-musl.patch 
b/sci-visualization/spyview/files/spyview-2018.12.24-musl.patch
new file mode 100644
index 000000000000..75f0d02599ac
--- /dev/null
+++ b/sci-visualization/spyview/files/spyview-2018.12.24-musl.patch
@@ -0,0 +1,12 @@
+diff --git a/source/spyview/Gnuplot_Interface.H 
b/source/spyview/Gnuplot_Interface.H
+index f15cb08..ef6fb2d 100644
+--- a/spyview/Gnuplot_Interface.H
++++ b/spyview/Gnuplot_Interface.H
+@@ -5,6 +5,7 @@
+ #include <assert.h>
+ #include <errno.h>
+ #include <vector>
++#include <sys/types.h>
+ #include "message.h"
+ 
+ /* With the need for bi-directional communications with gnuplot,

diff --git a/sci-visualization/spyview/spyview-2018.12.24-r1.ebuild 
b/sci-visualization/spyview/spyview-2018.12.24-r1.ebuild
index e838a3ecc23f..6c0a60c5371d 100644
--- a/sci-visualization/spyview/spyview-2018.12.24-r1.ebuild
+++ b/sci-visualization/spyview/spyview-2018.12.24-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -36,6 +36,7 @@ RDEPEND="${COMMON_DEPEND}
 PATCHES=(
        "${FILESDIR}/spyview-no-user-dirs.patch"
        "${FILESDIR}/${P}-fltk1.4.patch"
+       "${FILESDIR}/${P}-musl.patch"
 )
 
 src_unpack() {

diff --git a/sci-visualization/spyview/spyview-9999.ebuild 
b/sci-visualization/spyview/spyview-9999.ebuild
index e68c6227f788..81bd901f4bfd 100644
--- a/sci-visualization/spyview/spyview-9999.ebuild
+++ b/sci-visualization/spyview/spyview-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,6 +35,7 @@ RDEPEND="${COMMON_DEPEND}
 
 PATCHES=(
        "${FILESDIR}/spyview-no-user-dirs.patch"
+       "${FILESDIR}/spyview-2018.12.24-musl.patch"
 )
 
 src_unpack() {

Reply via email to