summaryrefslogtreecommitdiff
path: root/media-sound/audacity/files/audacity-3.7.0-audiocom-std-string.patch
blob: b844429c8776b76255a25aa3f5deaf49f0baaada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 23f1df0b13c46cef746674434640588864f8c453 Mon Sep 17 00:00:00 2001
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
Date: Sun, 18 Feb 2024 23:16:28 +0300
Subject: [PATCH] Fix compilation with audiocom

Fix error `OAuthService.h: error: field mAccessToken has incomplete type
std::string {aka std::_cxx11::basic_string<char>}`

See: https://bugs.gentoo.org/920363

Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>

REBASED

--- a/libraries/lib-cloud-audiocom/OAuthService.h
+++ b/libraries/lib-cloud-audiocom/OAuthService.h
@@ -12,6 +12,7 @@
 
 #include <chrono>
 #include <functional>
+#include <string>
 #include <string_view>
 #include <string>
 #include <mutex>