diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-01-06 14:05:19 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-01-06 14:07:36 +0100 |
commit | d43d8da8f86d54b5f4f8dd707686b2eb81e5083c (patch) | |
tree | af90bbe129043f689c5832803540d87467f95225 /media-radio/flrig | |
parent | dev-lua/luadbi: rebvump due modern C porting (diff) | |
download | gentoo-d43d8da8f86d54b5f4f8dd707686b2eb81e5083c.tar.gz gentoo-d43d8da8f86d54b5f4f8dd707686b2eb81e5083c.tar.bz2 gentoo-d43d8da8f86d54b5f4f8dd707686b2eb81e5083c.zip |
media-radio/flrig: Fix missing include for clang++
Closes: https://bugs.gentoo.org/921405
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/flrig')
-rw-r--r-- | media-radio/flrig/files/flrig-2.0.04-stdint.patch | 13 | ||||
-rw-r--r-- | media-radio/flrig/flrig-2.0.04.ebuild | 7 | ||||
-rw-r--r-- | media-radio/flrig/flrig-2.0.05.ebuild | 5 |
3 files changed, 22 insertions, 3 deletions
diff --git a/media-radio/flrig/files/flrig-2.0.04-stdint.patch b/media-radio/flrig/files/flrig-2.0.04-stdint.patch new file mode 100644 index 000000000000..9acd6ffb4dbc --- /dev/null +++ b/media-radio/flrig/files/flrig-2.0.04-stdint.patch @@ -0,0 +1,13 @@ +# fix build with clang++ (bug #921405) +diff --git a/src/widgets/FreqControl.cxx b/src/widgets/FreqControl.cxx +index 2b1734b..e59dc9c 100644 +--- a/src/widgets/FreqControl.cxx ++++ b/src/widgets/FreqControl.cxx +@@ -35,6 +35,7 @@ + #endif + + #include <string.h> ++#include <stdint.h> + + #include "FreqControl.h" + #include "gettext.h" diff --git a/media-radio/flrig/flrig-2.0.04.ebuild b/media-radio/flrig/flrig-2.0.04.ebuild index a07e501860cf..0a9e7a5c39ab 100644 --- a/media-radio/flrig/flrig-2.0.04.ebuild +++ b/media-radio/flrig/flrig-2.0.04.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,10 @@ RDEPEND="x11-libs/libX11 DEPEND="${RDEPEND} sys-devel/gettext" -PATCHES=( "${FILESDIR}/${PN}-1.4.4-musl.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-1.4.4-musl.patch" + "${FILESDIR}/${PN}-2.0.04-stdint.patch" + ) src_prepare() { eapply ${PATCHES[@]} diff --git a/media-radio/flrig/flrig-2.0.05.ebuild b/media-radio/flrig/flrig-2.0.05.ebuild index a5bc7dbf08a2..50fe129ea6b1 100644 --- a/media-radio/flrig/flrig-2.0.05.ebuild +++ b/media-radio/flrig/flrig-2.0.05.ebuild @@ -23,7 +23,10 @@ RDEPEND="x11-libs/libX11 DEPEND="${RDEPEND} sys-devel/gettext" -PATCHES=( "${FILESDIR}/${PN}-2.0.05-musl.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.0.05-musl.patch" + "${FILESDIR}/${PN}-2.0.04-stdint.patch" + ) src_prepare() { eapply ${PATCHES[@]} |