summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2021-06-23 13:09:37 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2021-06-23 13:09:37 +0200
commit30657d5cd50a328aac8809fb5a25c3be2f9600d8 (patch)
treea41ded7d2737f8f1f09fabf57195c56d9848d9bc /media-radio
parentmedia-radio/qsstv: Drop old (diff)
downloadgentoo-30657d5cd50a328aac8809fb5a25c3be2f9600d8.tar.gz
gentoo-30657d5cd50a328aac8809fb5a25c3be2f9600d8.tar.bz2
gentoo-30657d5cd50a328aac8809fb5a25c3be2f9600d8.zip
media-radio/qsstv: Prepare for coming media-libs/hamlib-4.2
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/qsstv/qsstv-9.5.3.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-radio/qsstv/qsstv-9.5.3.ebuild b/media-radio/qsstv/qsstv-9.5.3.ebuild
index 00291f4897a2..36c2667badf1 100644
--- a/media-radio/qsstv/qsstv-9.5.3.ebuild
+++ b/media-radio/qsstv/qsstv-9.5.3.ebuild
@@ -40,6 +40,12 @@ src_prepare() {
sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
-e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
qsstv.pro || die
+
+ # prepare for media-radio/hamlib-4.2 change of API
+ if has_version '>=media-libs/hamlib-4.2' ; then
+ sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/rig/rigcontrol.cpp \
+ || die
+ fi
}
src_configure() {