media-radio/flrig: Fix missing include for clang++

Closes: https://bugs.gentoo.org/921405
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2024-01-06 14:05:19 +01:00
parent fa80a50168
commit d43d8da8f8
3 changed files with 22 additions and 3 deletions

View File

@@ -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"

View File

@@ -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[@]}

View File

@@ -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[@]}