summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-10-23 18:21:04 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-10-23 18:21:42 +0200
commit06218fe92fee66e591a571752a18b2e35ce66419 (patch)
tree80f7e1e99b632417837011d5d4974fbbc97d92c1 /media-radio
parentgnome-extra/gnome-firmware: new package, add 43.0 (diff)
downloadgentoo-06218fe92fee66e591a571752a18b2e35ce66419.tar.gz
gentoo-06218fe92fee66e591a571752a18b2e35ce66419.tar.bz2
gentoo-06218fe92fee66e591a571752a18b2e35ce66419.zip
media-radio/tlf: Drop -flto and fix some warnings
Closes: https://bugs.gentoo.org/876418 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/tlf/files/tlf-1.4.1-missing-include.patch10
-rw-r--r--media-radio/tlf/tlf-1.4.1-r1.ebuild2
2 files changed, 12 insertions, 0 deletions
diff --git a/media-radio/tlf/files/tlf-1.4.1-missing-include.patch b/media-radio/tlf/files/tlf-1.4.1-missing-include.patch
new file mode 100644
index 000000000000..55cb7a48477e
--- /dev/null
+++ b/media-radio/tlf/files/tlf-1.4.1-missing-include.patch
@@ -0,0 +1,10 @@
+diff --git a/test/test_wwv.c b/test/test_wwv.c
+index f4e20ac..0fa82da 100644
+--- a/test/test_wwv.c
++++ b/test/test_wwv.c
+@@ -1,4 +1,5 @@
+ #include "test.h"
++#include <glib.h>
+
+ #include "../src/getwwv.h"
+
diff --git a/media-radio/tlf/tlf-1.4.1-r1.ebuild b/media-radio/tlf/tlf-1.4.1-r1.ebuild
index c19feb243da0..71731baea4a5 100644
--- a/media-radio/tlf/tlf-1.4.1-r1.ebuild
+++ b/media-radio/tlf/tlf-1.4.1-r1.ebuild
@@ -28,6 +28,7 @@ DEPEND="
PATCHES=( "${FILESDIR}/${P}-zone_nr.patch"
"${FILESDIR}/${P}-musl.patch"
+ "${FILESDIR}/${P}-missing-include.patch"
)
src_prepare() {
@@ -42,5 +43,6 @@ src_prepare() {
src_configure() {
use elibc_musl && append-libs argp
append-ldflags -L/usr/$(get_libdir)/hamlib
+ filter-lto # bug # 876418
econf --enable-fldigi-xmlrpc
}