summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/xlog/xlog-2.0.22.ebuild')
-rw-r--r--media-radio/xlog/xlog-2.0.22.ebuild5
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