From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4D8C13835A for ; Wed, 23 Jun 2021 11:09:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 027E1E08EB; Wed, 23 Jun 2021 11:09:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6FB7E08EB for ; Wed, 23 Jun 2021 11:09:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D930B33D5A5 for ; Wed, 23 Jun 2021 11:09:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73A8D7B2 for ; Wed, 23 Jun 2021 11:09:51 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1624446577.30657d5cd50a328aac8809fb5a25c3be2f9600d8.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/qsstv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/qsstv/qsstv-9.5.3.ebuild X-VCS-Directories: media-radio/qsstv/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 30657d5cd50a328aac8809fb5a25c3be2f9600d8 X-VCS-Branch: master Date: Wed, 23 Jun 2021 11:09:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f5234e4-daa2-4d7e-b684-c11390c686a6 X-Archives-Hash: 436c29b969f9c58f3d87511149a47e32 commit: 30657d5cd50a328aac8809fb5a25c3be2f9600d8 Author: Thomas Beierlein gentoo org> AuthorDate: Wed Jun 23 11:09:37 2021 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Wed Jun 23 11:09:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30657d5c 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 gentoo.org> media-radio/qsstv/qsstv-9.5.3.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/media-radio/qsstv/qsstv-9.5.3.ebuild b/media-radio/qsstv/qsstv-9.5.3.ebuild index 00291f4897a..36c2667badf 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() {