From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/fldigi/files/, media-radio/fldigi/
Date: Mon, 7 Feb 2022 18:44:11 +0000 (UTC) [thread overview]
Message-ID: <1644259380.a2fe58bfad5cdf534d6ae3e3e6de3d48843509ed.tomjbe@gentoo> (raw)
commit: a2fe58bfad5cdf534d6ae3e3e6de3d48843509ed
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 7 18:43:00 2022 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Mon Feb 7 18:43:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2fe58bf
media-radio/fldigi: Fixes musl build error
Closes: https://bugs.gentoo.org/832231
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
media-radio/fldigi/files/fldigi-4.1.20-musl.patch | 14 ++++++++++++++
media-radio/fldigi/fldigi-4.1.20.ebuild | 9 ++++++++-
2 files changed, 22 insertions(+), 1 deletion(-)
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=""
next reply other threads:[~2022-02-07 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-07 18:44 Thomas Beierlein [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-18 12:32 [gentoo-commits] repo/gentoo:master commit in: media-radio/fldigi/files/, media-radio/fldigi/ Thomas Beierlein
2022-09-17 12:12 Thomas Beierlein
2017-02-03 15:20 Thomas Beierlein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1644259380.a2fe58bfad5cdf534d6ae3e3e6de3d48843509ed.tomjbe@gentoo \
--to=tomjbe@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox