From 70e95cedb289853d9b1ca1f50420527e23c4eaed Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 26 Dec 2024 02:22:24 -0500 Subject: [PATCH] media-sound/horgand: add binding := to fltk & fix build with 1.4 1.4.x drops the case sensitivity compat symlinks by default and upstream strongly recommends to fix packages rather than re-enable them. := due to new soname Signed-off-by: Ionen Wolkens --- media-sound/horgand/files/horgand-1.14-fltk1.4.patch | 6 ++++++ .../{horgand-1.14-r2.ebuild => horgand-1.14-r3.ebuild} | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 media-sound/horgand/files/horgand-1.14-fltk1.4.patch rename media-sound/horgand/{horgand-1.14-r2.ebuild => horgand-1.14-r3.ebuild} (85%) diff --git a/media-sound/horgand/files/horgand-1.14-fltk1.4.patch b/media-sound/horgand/files/horgand-1.14-fltk1.4.patch new file mode 100644 index 0000000000000..df106161e1fb1 --- /dev/null +++ b/media-sound/horgand/files/horgand-1.14-fltk1.4.patch @@ -0,0 +1,6 @@ +Deprecated compatibility symlinks are removed. +--- a/src/organ.C ++++ b/src/organ.C +@@ -31 +31 @@ +-#include ++#include diff --git a/media-sound/horgand/horgand-1.14-r2.ebuild b/media-sound/horgand/horgand-1.14-r3.ebuild similarity index 85% rename from media-sound/horgand/horgand-1.14-r2.ebuild rename to media-sound/horgand/horgand-1.14-r3.ebuild index 6506e49d4be40..b4bd54ce03040 100644 --- a/media-sound/horgand/horgand-1.14-r2.ebuild +++ b/media-sound/horgand/horgand-1.14-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,13 +18,16 @@ RDEPEND=" media-libs/libsndfile media-sound/alsa-utils virtual/jack - x11-libs/fltk:1 + x11-libs/fltk:1= x11-libs/libXpm " DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${P}-overflow.patch" ) +PATCHES=( + "${FILESDIR}/${P}-overflow.patch" + "${FILESDIR}/${P}-fltk1.4.patch" +) src_compile() { emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} $(fltk-config --cxxflags) \