media-video/sonic-snap: 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 02:48:12 -05:00
parent 6bcdeca299
commit ee7538e52d
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,6 @@
Deprecated compatibility symlinks are removed.
--- a/sonic-snap-gui.cxx
+++ b/sonic-snap-gui.cxx
@@ -22 +22 @@
-#include <FL/fl_file_chooser.H>
+#include <FL/Fl_File_Chooser.H>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -16,7 +16,7 @@ IUSE="mpeg"
DEPEND="
sys-libs/zlib
x11-libs/fltk:1
x11-libs/fltk:1=
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
@ -31,6 +31,10 @@ CONFIG_CHECK="~USB_SN9C102"
ERROR_USB_SN9C102="Please make sure the SN9C1xx PC Camera Controller driver is \
enabled, under V4L USB devices, as a module in your kernel."
PATCHES=(
"${FILESDIR}"/${P}-fltk1.4.patch
)
src_prepare() {
# fix bad assumptions
sed -i \