commit:     70e95cedb289853d9b1ca1f50420527e23c4eaed
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 07:22:24 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 17:48:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e95ced

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 <ionen <AT> gentoo.org>

 media-sound/horgand/files/horgand-1.14-fltk1.4.patch             | 6 ++++++
 .../horgand/{horgand-1.14-r2.ebuild => horgand-1.14-r3.ebuild}   | 9 ++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

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 000000000000..df106161e1fb
--- /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 <Fl/Fl_Preferences.H>
++#include <FL/Fl_Preferences.H>

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 6506e49d4be4..b4bd54ce0304 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) \

Reply via email to