summaryrefslogtreecommitdiff
path: root/media-radio/fldigi
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/fldigi
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'media-radio/fldigi')
-rw-r--r--media-radio/fldigi/Manifest3
-rw-r--r--media-radio/fldigi/files/fldigi-4.1.20-musl.patch14
-rw-r--r--media-radio/fldigi/fldigi-4.1.20.ebuild9
3 files changed, 24 insertions, 2 deletions
diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
index 74c64d42bdde..acb4ba97f940 100644
--- a/media-radio/fldigi/Manifest
+++ b/media-radio/fldigi/Manifest
@@ -1,3 +1,4 @@
+AUX fldigi-4.1.20-musl.patch 309 BLAKE2B 501ca7335497f0c8dcc4c6b40cab5ed437b084cdce42c4068d8a9ca5ef8a91e6d0a079f4e46ea9592836121075385b5103ed0e9bc6d405bd42d1263377be4386 SHA512 4a56a8bbc9eeeb94d31d3f27a870c68c8eca6646b46f68e71121939d3baa7fc1eb1a28aab637ba52794c0ac792da9684f7dbe4770d33ed6a66935a00dd3beb1b
DIST fldigi-4.1.20.tar.gz 4906451 BLAKE2B ed12be269828a1c8a9b1eeab470981ca95d47a330a9eec098c6ce241e36a18bfaf5d36eecb480542aff128c7b7f6b06d85af1a37f30a9b721ed1712cf90a4df3 SHA512 97c4ae9d0721a3d264af55483e9e3e6dd22e33c879d60f7818489c2e8eb0f0615f8698c67c39fa066b05baccd75c06e1988d9f7ea3dc180158da77ed604a0d0f
-EBUILD fldigi-4.1.20.ebuild 1317 BLAKE2B 0f02d20b5ac396aa026064db5a8b3095950c7b80743a633149a3818d8b027d8102c8ea2d9e4b8c33c89404dd872940b9697edcbdf2f86c757b0746f1bab18f7f SHA512 b3d8b4d49fda9ae45e46bf752259abfbcfb34a3959ccce368c9e5be9beda082171ec169d947c0cd2d58355fd76a37780a75ed602f6f8611d9259ed0dad763db7
+EBUILD fldigi-4.1.20.ebuild 1422 BLAKE2B e984daeb48ee8fbc8a6800464f1ea9dc3e8e07ea32c9117e20e74db577016974f928507adb22007a366898b1505199f59f2b18eb336c7a8e67ebcd0de9622644 SHA512 ae8099035196e5ea38f64fb571b0e9005ee8514f14a367a817f93d87960e691c94f62ae593d876fbc01e290a6d72cad54a53d9b9e06ff5b50b1eec49217d8eb5
MISC metadata.xml 496 BLAKE2B 73772d9e436d34ccd62ffe1ef665dc8c85d79641a22560881d15bf9045f76dc4363316ee1a89681412da37a6982e764237e3dac9c3930837870e4725e974e219 SHA512 bbb76136e7ddb9d7bde31eed4c642217c2ce5e0d246cb07f0ef0e2d01f949593862da10e12032a314b0f5fb7d65dea66137630805c616ee3783036480c2574b6
diff --git a/media-radio/fldigi/files/fldigi-4.1.20-musl.patch b/media-radio/fldigi/files/fldigi-4.1.20-musl.patch
new file mode 100644
index 000000000000..5b96abf40337
--- /dev/null
+++ b/media-radio/fldigi/files/fldigi-4.1.20-musl.patch
@@ -0,0 +1,14 @@
+diff --git a/src/cmedia/cmedia.cxx b/src/cmedia/cmedia.cxx
+index b08e3d7..cc775e9 100644
+--- a/src/cmedia/cmedia.cxx
++++ b/src/cmedia/cmedia.cxx
+@@ -41,9 +41,6 @@
+ #ifndef __WIN32__
+ #include <termios.h>
+ #include <glob.h>
+-# ifndef __APPLE__
+-# include <error.h>
+-# endif
+ #endif
+
+ #include "config.h"
diff --git a/media-radio/fldigi/fldigi-4.1.20.ebuild b/media-radio/fldigi/fldigi-4.1.20.ebuild
index 76084ffc4c43..792f85ce34c9 100644
--- a/media-radio/fldigi/fldigi-4.1.20.ebuild
+++ b/media-radio/fldigi/fldigi-4.1.20.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=8
@@ -35,6 +35,13 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS ChangeLog NEWS README )
+PATCHES=( "${FILESDIR}/${PN}-4.1.20-musl.patch" )
+
+src_prepare() {
+ eapply ${PATCHES[@]}
+ eapply_user
+}
+
src_configure() {
append-cxxflags $(test-flags-CXX -std=c++14)
local myconf=""