diff options
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/flrig/files/flrig-1.4.4-musl.patch | 28 | ||||
-rw-r--r-- | media-radio/flrig/flrig-1.4.4.ebuild | 9 |
2 files changed, 36 insertions, 1 deletions
diff --git a/media-radio/flrig/files/flrig-1.4.4-musl.patch b/media-radio/flrig/files/flrig-1.4.4-musl.patch new file mode 100644 index 000000000000..44c85a711828 --- /dev/null +++ b/media-radio/flrig/files/flrig-1.4.4-musl.patch @@ -0,0 +1,28 @@ +diff --git a/src/cmedia/cmedia.cxx b/src/cmedia/cmedia.cxx +index c65400f..efe83c5 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/src/cmedia/tmate2.cxx b/src/cmedia/tmate2.cxx +index b209469..6408179 100644 +--- a/src/cmedia/tmate2.cxx ++++ b/src/cmedia/tmate2.cxx +@@ -44,9 +44,6 @@ + #ifndef __WIN32__ + #include <termios.h> + #include <glob.h> +-# ifndef __APPLE__ +-# include <error.h> +-# endif + #endif + + #include "config.h" diff --git a/media-radio/flrig/flrig-1.4.4.ebuild b/media-radio/flrig/flrig-1.4.4.ebuild index a98ec86ead1f..fa8591685185 100644 --- a/media-radio/flrig/flrig-1.4.4.ebuild +++ b/media-radio/flrig/flrig-1.4.4.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 @@ -20,3 +20,10 @@ RDEPEND="x11-libs/libX11 DEPEND="${RDEPEND} sys-devel/gettext" + +PATCHES=( "${FILESDIR}/${PN}-1.4.4-musl.patch" ) + +src_prepare() { + eapply ${PATCHES[@]} + eapply_user +} |