diff options
author | kamil <kamil@pkgsrc.org> | 2020-02-06 21:57:42 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2020-02-06 21:57:42 +0000 |
commit | 2f7c3f9d87c936bdd9d40b242b36f1d91d837039 (patch) | |
tree | e44f84606449fb9e19eddd0124eeab658b5068d1 /sysutils/spice-server/patches/patch-server_red-worker.c | |
parent | 3a6ddb22310619e4a8d1e7c8631e7fffb0dfc419 (diff) | |
download | pkgsrc-2f7c3f9d87c936bdd9d40b242b36f1d91d837039.tar.gz |
sysutils/spice-server: import spice-server-0.14.2
SPICE is a remote display system built for virtual environments which
allows you to view a computing 'desktop' environment not only on the
machine where it is running, but from anywhere on the Internet and
from a wide variety of machine architectures.
Diffstat (limited to 'sysutils/spice-server/patches/patch-server_red-worker.c')
-rw-r--r-- | sysutils/spice-server/patches/patch-server_red-worker.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/spice-server/patches/patch-server_red-worker.c b/sysutils/spice-server/patches/patch-server_red-worker.c new file mode 100644 index 00000000000..6ad9776f2e7 --- /dev/null +++ b/sysutils/spice-server/patches/patch-server_red-worker.c @@ -0,0 +1,18 @@ +$NetBSD: patch-server_red-worker.c,v 1.1 2020/02/06 21:57:42 kamil Exp $ + +Add NetBSD support. + +--- server/red-worker.c.orig 2019-04-30 08:51:11.000000000 +0000 ++++ server/red-worker.c +@@ -1161,7 +1161,11 @@ bool red_worker_run(RedWorker *worker) + spice_error("create thread failed %d", r); + } + pthread_sigmask(SIG_SETMASK, &curr_sig_mask, NULL); ++#if defined(__NetBSD__) ++ pthread_setname_np(worker->thread, "%s", (void *)"SPICE Worker"); ++#else + pthread_setname_np(worker->thread, "SPICE Worker"); ++#endif + + return r == 0; + } |