diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2021-06-24 07:17:11 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2021-06-24 07:17:11 +0200 |
commit | ec4c9d097d184668e3bb47893cfa63a65038330e (patch) | |
tree | 5de01a46faaa23f4d1a761c380c735d427eae8dc /media-radio/xlog/xlog-2.0.22.ebuild | |
parent | media-radio/xlog: Drop old (diff) | |
download | gentoo-ec4c9d097d184668e3bb47893cfa63a65038330e.tar.gz gentoo-ec4c9d097d184668e3bb47893cfa63a65038330e.tar.bz2 gentoo-ec4c9d097d184668e3bb47893cfa63a65038330e.zip |
media-radio/xlog: 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/xlog/xlog-2.0.22.ebuild')
-rw-r--r-- | media-radio/xlog/xlog-2.0.22.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media-radio/xlog/xlog-2.0.22.ebuild b/media-radio/xlog/xlog-2.0.22.ebuild index 7467c2953e50..3b1c9d3c1662 100644 --- a/media-radio/xlog/xlog-2.0.22.ebuild +++ b/media-radio/xlog/xlog-2.0.22.ebuild @@ -37,6 +37,11 @@ src_prepare() { sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die eautoconf + # 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}"/src/hamlib-utils.c || die + fi + # Fix broken png files<< einfo "Fixing broken png files." pushd "${S}"/data/doc/manual/output/html |