summaryrefslogtreecommitdiff
path: root/x11-misc/wdm/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-29 15:17:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-29 15:17:30 +0100
commit662f71ae67cd775d7fbb79b5091676c0e07a992b (patch)
tree74c7cb80b79b8886cd7466cf262878d1e8b9d546 /x11-misc/wdm/files
parentb2d3769042cfd3d8ceadaa52f6a5aafabb0d4114 (diff)
gentoo auto-resync : 29:05:2023 - 15:17:30
Diffstat (limited to 'x11-misc/wdm/files')
-rw-r--r--x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch b/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch
new file mode 100644
index 000000000000..f76db846e597
--- /dev/null
+++ b/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch
@@ -0,0 +1,15 @@
+Please reffer https://www.openembedded.org/pipermail/openembedded-core/2011-July/044923.html
+--- a/src/wdm/util.c
++++ b/src/wdm/util.c
+@@ -113,8 +113,10 @@ CleanUpChild (void)
+ #ifdef CSRG_BASED
+ setsid();
+ #else
++ sigset_t sigmask;
+ setpgid (0, getpid ());
+- sigsetmask (0);
++ sigemptyset(&sigmask);
++ sigprocmask(SIG_SETMASK, &sigmask, NULL);
+ #endif
+ #ifdef SIGCHLD
+ (void) Signal (SIGCHLD, SIG_DFL);