summaryrefslogtreecommitdiff
path: root/net-im/neochat/files/patch-021-controller.patch
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2023-07-18 09:56:27 +0200
committerAdriaan de Groot <adridg@FreeBSD.org>2023-07-18 09:57:59 +0200
commitfff9c832f9ef4e2d3c5bd54a8a2abb4e472ed193 (patch)
treee8d27745f705656b075bd9a95fca564503539a71 /net-im/neochat/files/patch-021-controller.patch
parentdevel/electron2[2-5]: force directory/file permissions in yarn cache archive (diff)
net-im/neochat: fix build against newer libquotient
Previous commit had rakuco@'s fixes for the build, but none of the patches needed to make it build against newer libquotient.
Diffstat (limited to 'net-im/neochat/files/patch-021-controller.patch')
-rw-r--r--net-im/neochat/files/patch-021-controller.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-im/neochat/files/patch-021-controller.patch b/net-im/neochat/files/patch-021-controller.patch
new file mode 100644
index 000000000000..85de3be5f2f0
--- /dev/null
+++ b/net-im/neochat/files/patch-021-controller.patch
@@ -0,0 +1,14 @@
+--- src/controller.cpp 2023-07-18 09:44:46.451178000 +0200
++++ src/controller.cpp.orig 2023-07-18 09:44:18.501074000 +0200
+@@ -307,10 +307,7 @@
+ {
+ Q_ASSERT_X(c, __FUNCTION__, "Attempt to add a null connection");
+
++ Accounts.add(c);
+-#ifndef QUOTIENT_07
+- AccountRegistry::instance().add(c);
+-#endif
+-
+ c->setLazyLoading(true);
+
+ connect(c, &Connection::syncDone, this, [this, c] {