mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
13
media-radio/flrig/files/flrig-2.0.04-stdint.patch
Normal file
13
media-radio/flrig/files/flrig-2.0.04-stdint.patch
Normal 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"
|
||||
@@ -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[@]}
|
||||
|
||||
@@ -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[@]}
|
||||
|
||||
Reference in New Issue
Block a user