commit: 9ee68249facf38de0a530a4f954cc7397746c112 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> AuthorDate: Fri Jun 13 08:54:35 2025 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Fri Jun 13 08:58:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ee68249
media-radio/tlf: Fix prototype * bump EAPI to 8 Closes: https://bugs.gentoo.org/957009 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> media-radio/tlf/files/tlf-1.4.1-filterLog.patch | 40 ++++++++++++++++++++++ .../{tlf-1.4.1-r4.ebuild => tlf-1.4.1-r5.ebuild} | 5 +-- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/media-radio/tlf/files/tlf-1.4.1-filterLog.patch b/media-radio/tlf/files/tlf-1.4.1-filterLog.patch new file mode 100644 index 000000000000..0032c95a74e2 --- /dev/null +++ b/media-radio/tlf/files/tlf-1.4.1-filterLog.patch @@ -0,0 +1,40 @@ +diff --git a/test/test_searchlog.c b/test/test_searchlog.c +index b4f2a46..f463e40 100644 +--- a/test/test_searchlog.c ++++ b/test/test_searchlog.c +@@ -233,7 +233,7 @@ void test_init_search_panel_dxped(void **state) { + /* testing searchlog for refactoring */ + void test_searchlog_pickup_call(void **state) { + strcpy (hiscall, "UA"); +- filterLog(""); ++ filterLog(); + assert_int_equal (strncmp(searchresult[0], QSO3, 80), 0); + assert_int_equal (strncmp(searchresult[1], QSO5, 80), 0); + } +@@ -241,7 +241,7 @@ void test_searchlog_pickup_call(void **state) { + void test_searchlog_pickup_call_mixedmode(void **state) { + mixedmode = 1; + strcpy (hiscall, "UA"); +- filterLog(""); ++ filterLog(); + assert_int_equal (strncmp(searchresult[0], QSO3, 80), 0); + assert_int_equal (strncmp(searchresult[1], QSO4, 80), 0); + assert_int_equal (strncmp(searchresult[2], QSO5, 80), 0); +@@ -249,7 +249,7 @@ void test_searchlog_pickup_call_mixedmode(void **state) { + + void test_searchlog_extract_data(void **state) { + strcpy (hiscall, "UA"); +- filterLog(""); ++ filterLog(); + assert_string_equal (result[0], " 40CW 0007 OE3UAI 15 "); + assert_string_equal (result[1], " 80CW 0009 UA9LM 17 "); + } +@@ -257,7 +257,7 @@ void test_searchlog_extract_data(void **state) { + void test_searchlog_extract_data_mixedmode(void **state) { + mixedmode = 1; + strcpy (hiscall, "UA"); +- filterLog(""); ++ filterLog(); + assert_string_equal (result[0], " 40CW 0007 OE3UAI 15 "); + assert_string_equal (result[1], " 80SSB 0008 UA3JK 16 "); + } diff --git a/media-radio/tlf/tlf-1.4.1-r4.ebuild b/media-radio/tlf/tlf-1.4.1-r5.ebuild similarity index 94% rename from media-radio/tlf/tlf-1.4.1-r4.ebuild rename to media-radio/tlf/tlf-1.4.1-r5.ebuild index 5646ebaaa916..b6e390d22ae7 100644 --- a/media-radio/tlf/tlf-1.4.1-r4.ebuild +++ b/media-radio/tlf/tlf-1.4.1-r5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" inherit autotools flag-o-matic @@ -20,7 +20,7 @@ RDEPEND="sys-libs/ncurses:= dev-libs/glib:2 media-libs/hamlib:= media-sound/sox - dev-libs/xmlrpc-c[curl] + dev-libs/xmlrpc-c:=[curl] elibc_musl? ( sys-libs/argp-standalone )" DEPEND=" ${RDEPEND} @@ -31,6 +31,7 @@ PATCHES=( "${FILESDIR}/${P}-zone_nr.patch" "${FILESDIR}/${P}-missing-include.patch" "${FILESDIR}/${P}-prototypes.patch" "${FILESDIR}/${P}-pi.patch" + "${FILESDIR}/${P}-filterLog.patch" ) # suppress warning wrt 'implicit function declaration' in config logs
