commit:     45a01aef6883db7c788124d6ddc759ac15724c18
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 29 18:40:18 2023 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 18:43:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a01aef

media-radio/flrig: Add missing include

Closes: https://bugs.gentoo.org/895566
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/flrig/files/flrig-1.4.7-uint8.patch | 11 +++++++++++
 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[@]}

Reply via email to