diff options
author | Neel Chauhan <nc@FreeBSD.org> | 2022-01-28 14:51:56 -0800 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2022-01-31 13:06:19 -0800 |
commit | a69eab30db5aa908c31f17217000bd16a44b2496 (patch) | |
tree | 03e4995b5bec985fc81f946616fb7373fa3e5751 /x11/gdm/files/patch-daemon_main.c | |
parent | devel/pycharm-ce: update 2021.2.2 -> 2021.3.1 (diff) |
x11/gdm: Update to 41.3
Differential Revision: https://reviews.freebsd.org/D34088
Diffstat (limited to 'x11/gdm/files/patch-daemon_main.c')
-rw-r--r-- | x11/gdm/files/patch-daemon_main.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-daemon_main.c b/x11/gdm/files/patch-daemon_main.c new file mode 100644 index 000000000000..abdcc0604e97 --- /dev/null +++ b/x11/gdm/files/patch-daemon_main.c @@ -0,0 +1,28 @@ +--- daemon/main.c.orig 2022-01-12 14:15:56 UTC ++++ daemon/main.c +@@ -289,6 +289,7 @@ is_debug_set (void) + return debug; + } + ++#ifdef HAVE_SIGWAITINFO + /* SIGUSR1 is used by the X server to tell us that we're ready, so + * block it. We'll unblock it in the worker thread in gdm-server.c + */ +@@ -301,6 +302,7 @@ block_sigusr1 (void) + sigaddset (&mask, SIGUSR1); + sigprocmask (SIG_BLOCK, &mask, NULL); + } ++#endif + + int + main (int argc, +@@ -321,7 +323,9 @@ main (int argc, + { NULL } + }; + ++#ifdef HAVE_SIGWAITINFO + block_sigusr1 (); ++#endif + + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + textdomain (GETTEXT_PACKAGE); |