commit: 5c09d56f14aed3a85480054eded9545d572c4933 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Tue Feb 3 15:50:36 2026 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Feb 3 15:50:36 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c09d56f
sci-libs/plplot: omit broken RETSIGTYPE code Closes: https://bugs.gentoo.org/945155 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../plplot/files/plplot-5.15.0_p15-sighandler_t.patch | 15 +++++++++++++++ sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch b/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch new file mode 100644 index 000000000000..4ee883c1b2de --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.15.0_p15-sighandler_t.patch @@ -0,0 +1,15 @@ +--- a/drivers/test-drv-info.c ++++ b/drivers/test-drv-info.c +@@ -36,10 +36,10 @@ + #define DRVSPEC_LEN 400 + + // function prototype +-RETSIGTYPE catch_segv( int sig ); ++void catch_segv( int sig ); + + // SEGV signal handler +-RETSIGTYPE ++void + catch_segv( int PL_UNUSED( sig ) ) + { + fprintf( stderr, "libltdl error: %s\n", lt_dlerror() ); diff --git a/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild b/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild index a88f1ac09863..cf3cc340e653 100644 --- a/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild +++ b/sci-libs/plplot/plplot-5.15.0_p15-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -113,6 +113,7 @@ src_prepare() { eapply -p1 "${WORKDIR}/debian/patches/${p}" done eapply "${FILESDIR}"/${PN}-5.15.0_p6-configure-c99.patch + eapply "${FILESDIR}"/${PN}-5.15.0_p15-sighandler_t.patch # avoid installing license sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die
