diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2023-04-29 20:40:18 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2023-04-29 20:43:53 +0200 |
commit | 45a01aef6883db7c788124d6ddc759ac15724c18 (patch) | |
tree | 54a7b1fe4d17ab0a40111fe3381eda642edfc9d5 /media-radio | |
parent | xfce-base/xfce4-panel: Remove old (diff) | |
download | gentoo-45a01aef6883db7c788124d6ddc759ac15724c18.tar.gz gentoo-45a01aef6883db7c788124d6ddc759ac15724c18.tar.bz2 gentoo-45a01aef6883db7c788124d6ddc759ac15724c18.zip |
media-radio/flrig: Add missing include
Closes: https://bugs.gentoo.org/895566
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/flrig/files/flrig-1.4.7-uint8.patch | 11 | ||||
-rw-r--r-- | media-radio/flrig/flrig-1.4.7.ebuild | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/media-radio/flrig/files/flrig-1.4.7-uint8.patch b/media-radio/flrig/files/flrig-1.4.7-uint8.patch new file mode 100644 index 000000000000..554ac137eca3 --- /dev/null +++ b/media-radio/flrig/files/flrig-1.4.7-uint8.patch @@ -0,0 +1,11 @@ +--- a/src/include/WSclient.h 2023-04-29 20:25:55.322076690 +0200 ++++ b/src/include/WSclient.h 2023-04-29 20:26:20.686925674 +0200 +@@ -35,6 +35,8 @@ + + #ifdef __WIN32__ + typedef unsigned char uint8_t; ++#else ++ #include <stdint.h> + #endif + + namespace WSclient { diff --git a/media-radio/flrig/flrig-1.4.7.ebuild b/media-radio/flrig/flrig-1.4.7.ebuild index 81a737736eac..6ae84171b383 100644 --- a/media-radio/flrig/flrig-1.4.7.ebuild +++ b/media-radio/flrig/flrig-1.4.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,8 @@ 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}/${P}-uint8.patch" ) src_prepare() { eapply ${PATCHES[@]} |