summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-12-26 02:25:41 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-12-26 12:48:32 -0500
commit89e3b5173c542d83854cc5999e6a431cb2d8a7e8 (patch)
tree98c65316a5d37d517c8534fe0be2ec491d85d187 /media-sound/mup
parentmedia-sound/lmms: add binding := to fltk, soname changed (diff)
downloadgentoo-89e3b5173c542d83854cc5999e6a431cb2d8a7e8.tar.gz
gentoo-89e3b5173c542d83854cc5999e6a431cb2d8a7e8.tar.bz2
gentoo-89e3b5173c542d83854cc5999e6a431cb2d8a7e8.zip
media-sound/mup: add binding := to fltk & fix build with 1.4
1.4.x seems to have dropped some transitive includes, and this needs to include what it uses. := due to new soname Also cleanup lower bound, <1.3.0 is long gone. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound/mup')
-rw-r--r--media-sound/mup/files/mup-6.9-fltk1.4.patch11
-rw-r--r--media-sound/mup/mup-6.9-r1.ebuild (renamed from media-sound/mup/mup-6.9.ebuild)3
2 files changed, 13 insertions, 1 deletions
diff --git a/media-sound/mup/files/mup-6.9-fltk1.4.patch b/media-sound/mup/files/mup-6.9-fltk1.4.patch
new file mode 100644
index 000000000000..f01ebc012e5b
--- /dev/null
+++ b/media-sound/mup/files/mup-6.9-fltk1.4.patch
@@ -0,0 +1,11 @@
+Main.C:751:9: error: 'fl_register_images' was not declared ...
+--- a/src/mupmate/Main.C
++++ b/src/mupmate/Main.C
+@@ -68,6 +68,7 @@
+
+ #include <FL/Fl.H>
+ #include <FL/fl_ask.H>
++#include <FL/Fl_Shared_Image.H>
+ #include <FL/Fl_Tooltip.H>
+
+ #include "globals.H"
diff --git a/media-sound/mup/mup-6.9.ebuild b/media-sound/mup/mup-6.9-r1.ebuild
index 64e1202d55d3..2f88bd35ad21 100644
--- a/media-sound/mup/mup-6.9.ebuild
+++ b/media-sound/mup/mup-6.9-r1.ebuild
@@ -19,7 +19,7 @@ RDEPEND="
media-libs/libpng:=
x11-libs/libX11
x11-libs/libXext
- >=x11-libs/fltk-1.3:1
+ x11-libs/fltk:1=
x11-libs/libXpm
"
DEPEND="
@@ -35,6 +35,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.9-build-system.patch
+ "${FILESDIR}"/${PN}-6.9-fltk1.4.patch
)
src_prepare() {