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@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-12-26 12:48:32 -05:00
parent 8b9ef44c15
commit 70e95cedb2
2 changed files with 12 additions and 3 deletions
@@ -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>
@@ -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) \