summaryrefslogtreecommitdiff
path: root/gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-02-25 19:36:20 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-03-16 21:31:12 +0200
commita6cb268c1175a8302bf048593db53e06c3bcc16d (patch)
treef9d983b3b7f76db3f89aece1e6943abba221c7cc /gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch
parent538da4725a2ca2c9a29638d8c8cda4ed6f388cfe (diff)
downloadgentoo-a6cb268c1175a8302bf048593db53e06c3bcc16d.tar.gz
gentoo-a6cb268c1175a8302bf048593db53e06c3bcc16d.tar.bz2
gentoo-a6cb268c1175a8302bf048593db53e06c3bcc16d.zip
gui-libs/neatvnc: add 0.8.0
Bug: https://bugs.gentoo.org/902141 Closes: https://bugs.gentoo.org/925498 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch')
-rw-r--r--gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch b/gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch
new file mode 100644
index 000000000000..72bf4285d9fd
--- /dev/null
+++ b/gui-libs/neatvnc/files/neatvnc-0.8.0-fix-tracing-undeclared-variable.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/902141
+https://github.com/any1/neatvnc/pull/110
+
+From ce654aaf8b680768c4c51bef858e16f0db895814 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate <parona@protonmail.com>
+Date: Sun, 25 Feb 2024 19:31:47 +0200
+Subject: [PATCH] server: remove undeclared variable from tracing macro
+
+* 3647457f6d769fe3c9518078008ef56be58b70b1 accidentally referred to
+ an nonexistant variable.
+
+Signed-off-by: Alfred Wingate <parona@protonmail.com>
+--- a/src/server.c
++++ b/src/server.c
+@@ -2109,7 +2109,7 @@ static void complete_fb_update(struct nvnc_client* client)
+ client->current_fb = NULL;
+ process_fb_update_requests(client);
+ client_unref(client);
+- DTRACE_PROBE2(neatvnc, update_fb_done, client, pts);
++ DTRACE_PROBE1(neatvnc, update_fb_done, client);
+ }
+
+ static void on_write_frame_done(void* userdata, enum stream_req_status status)
+--
+2.43.2
+