summaryrefslogtreecommitdiff
path: root/media-radio/tlf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /media-radio/tlf
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'media-radio/tlf')
-rw-r--r--media-radio/tlf/Manifest3
-rw-r--r--media-radio/tlf/files/tlf-1.4.1-musl.patch12
-rw-r--r--media-radio/tlf/tlf-1.4.1-r1.ebuild12
3 files changed, 22 insertions, 5 deletions
diff --git a/media-radio/tlf/Manifest b/media-radio/tlf/Manifest
index fed9129a7a11..f54b718c4e4a 100644
--- a/media-radio/tlf/Manifest
+++ b/media-radio/tlf/Manifest
@@ -1,5 +1,6 @@
+AUX tlf-1.4.1-musl.patch 273 BLAKE2B b6099b31210982b98ccab6549dbe509649e59d18252ad60d5239bcda0c25b7753fd9e600c98c8c2dfa5effca56567a33307f59ba135823be323970731848b95c SHA512 d8a058a4c9f2ce697cc683a63575fd1fae333a582176a9979e7313ad78ad0331674a5a1c305bd339e21f57ac9d2d65b377c70e3fcc5135f889547fffa9dd480f
AUX tlf-1.4.1-zone_nr.patch 468 BLAKE2B b9dc26ba4f2775dbdf2f2aacb763a70acbe4c6331a862f9db43774d0bbdeef9214c48f4cf30b0f52de5ab65b9ac157d160b52a19777a640f3a6d53c22187e74d SHA512 e415d62ed1bbb50bf6eedbe5bc93e06c02152bbb7f4a096f9229b3314a21125eec765255a7ddfbd07a478088a5097daaab5f8702d27c04babd5a29a5db7b4e29
DIST tlf-1.4.1.tar.gz 708105 BLAKE2B 18cd617a8780293bbfec87875491935d16022e104eed128ab69cbc3824aa5f8ab77dd07728d952e9b932ea74ee1c258522c26b5458b715320d452d58a65cfd3c SHA512 89076ba3b870f65b1469d64a223a9d35f1afd3edc6801446990d7ce197b04dacf141efc40382c69c78935a16f386385df0c7b48a040072cecc311cda56d479b5
-EBUILD tlf-1.4.1-r1.ebuild 859 BLAKE2B e262118aa4c6111ff9ce6a0a17b5fd262c4644876d6b5f5ee554617940c87e4832fbe252190c3e443e802d9c04efce06d4bf80f7c29209a0ff04fdb877eaded7 SHA512 84bf6fb85c428400196e577543be48c63033b494023d02af14d27670225a0218d949cd880cdbab758d2ba51de537a8cc0e44094bcc45a292119b2013345ec4af
+EBUILD tlf-1.4.1-r1.ebuild 974 BLAKE2B 5c125d6de3e936d895b56c34aaf397a7c9a3f39e150be3644c2fc3bf96eba3a2de7bb84559cd12b1fd21615b390325726921a98466a60f01ced1f3d75c9a5bab SHA512 722939d6c28b00315f52e0fd657214815ffacea835be263aa5213335afb70e4f532deaaaa116f5f7bbb1bfcaf3b71dbeb7c961eb25cc8d3696a9e6d99cee6460
EBUILD tlf-1.4.1.ebuild 677 BLAKE2B 8f970b1886111ace7ca4d8ba2582b602a2239c60f64cf423ef1f9f54935bbd4e4bc994927d37615ef2d89a9cc2b97d0e55bef79cd7f99a1cfc6fc81fa073eaa8 SHA512 92662a2c44cb6bb7c74e76bb791bc4d1901e406b0fcb316c4eaf8e376bd7db96f979ceea0b94981170f3d844587999c0ce5a4450da80a23963f6460d8d7f8d59
MISC metadata.xml 250 BLAKE2B 73afdd27824ddad49c748f845fb81e8b64d10b29a271175198b7c893096d6d5c64bf736446ec01c9679b7978925de4df8159761e1c3fdb83436468c882a72f85 SHA512 f5d1c70de88ecdf2edd6f5d68f44e26fd99705a91c52269b39c03240b06ab1d8299d03a2af5828c8f22198ec1188f14f957064c8459f27a8f2efea25398bdf4d
diff --git a/media-radio/tlf/files/tlf-1.4.1-musl.patch b/media-radio/tlf/files/tlf-1.4.1-musl.patch
new file mode 100644
index 000000000000..a4903015011d
--- /dev/null
+++ b/media-radio/tlf/files/tlf-1.4.1-musl.patch
@@ -0,0 +1,12 @@
+diff --git a/src/sockserv.c b/src/sockserv.c
+index c25f0fb..647188f 100644
+--- a/src/sockserv.c
++++ b/src/sockserv.c
+@@ -31,6 +31,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/select.h>
+
+ #include "sockserv.h"
+ #include "tlf_curses.h"
diff --git a/media-radio/tlf/tlf-1.4.1-r1.ebuild b/media-radio/tlf/tlf-1.4.1-r1.ebuild
index 897ebe600935..c19feb243da0 100644
--- a/media-radio/tlf/tlf-1.4.1-r1.ebuild
+++ b/media-radio/tlf/tlf-1.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -20,23 +20,27 @@ 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}
test? ( dev-util/cmocka )"
-PATCHES=( "${FILESDIR}"/${P}-zone_nr.patch )
+PATCHES=( "${FILESDIR}/${P}-zone_nr.patch"
+ "${FILESDIR}/${P}-musl.patch"
+ )
src_prepare() {
if has_version '>=media-libs/hamlib-4.2' ; then
sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/sendqrg.c || die
fi
- eapply ${PATCHES}
+ eapply ${PATCHES[@]}
eapply_user
}
src_configure() {
+ use elibc_musl && append-libs argp
append-ldflags -L/usr/$(get_libdir)/hamlib
econf --enable-fldigi-xmlrpc
}