mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
net-im/chatterino: fix gcc15 build
Closes: https://bugs.gentoo.org/937497 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -44,6 +44,11 @@ DEPEND="
|
||||
"
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=(
|
||||
# bug #937497
|
||||
"${FILESDIR}/${P}-gcc15.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
rmdir --ignore-fail-on-non-empty ./lib/*/ ./cmake/*/ || die "can't remove stubbed libdirs"
|
||||
|
||||
|
||||
13
net-im/chatterino/files/chatterino-2.5.1-gcc15.patch
Normal file
13
net-im/chatterino/files/chatterino-2.5.1-gcc15.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/937497
|
||||
https://github.com/Chatterino/chatterino2/commit/f36c73019db582fd3fec32099b75060f27cfd98f
|
||||
--- a/src/common/SignalVector.hpp
|
||||
+++ b/src/common/SignalVector.hpp
|
||||
@@ -155,7 +155,7 @@ class SignalVector
|
||||
decltype(auto) operator[](size_t index)
|
||||
{
|
||||
assertInGuiThread();
|
||||
- return this->items[index];
|
||||
+ return this->items_[index];
|
||||
}
|
||||
|
||||
auto empty()
|
||||
Reference in New Issue
Block a user