]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/x11r7/xserver_xorg-server/1.19.5/0003-Remove-check-for-useSIGIO-option.patch
package/x11r7/xserver_xorg-server: security bump version to 1.19.5
[coffee/buildroot.git] / package / x11r7 / xserver_xorg-server / 1.19.5 / 0003-Remove-check-for-useSIGIO-option.patch
1 From cf407b16cd65ad6e26a9c8e5984e163409a5c0f7 Mon Sep 17 00:00:00 2001
2 From: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
3 Date: Mon, 30 Jan 2017 16:32:06 -0600
4 Subject: [PATCH] Remove check for useSIGIO option
5
6 Original patch follows:
7 Commit 6a5a4e60373c1386b311b2a8bb666c32d68a9d99 removes the configure of useSIGIO
8 option.
9
10 As the xfree86 SIGIO support is reworked to use internal versions of OsBlockSIGIO
11 and OsReleaseSIGIO.
12
13 No longer the check for useSIGIO is needed
14
15 Upstream-Status: Pending
16
17 Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
18
19 Downloaded from
20 https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-graphics/xorg-xserver/xserver-xorg/0003-Remove-check-for-useSIGIO-option.patch
21
22 Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
23 ---
24  hw/xfree86/os-support/shared/sigio.c | 6 ------
25  1 file changed, 6 deletions(-)
26
27 diff --git a/hw/xfree86/os-support/shared/sigio.c b/hw/xfree86/os-support/shared/sigio.c
28 index 884a71c..be76498 100644
29 --- a/hw/xfree86/os-support/shared/sigio.c
30 +++ b/hw/xfree86/os-support/shared/sigio.c
31 @@ -185,9 +185,6 @@ xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure)
32      int i;
33      int installed = FALSE;
34  
35 -    if (!xf86Info.useSIGIO)
36 -        return 0;
37 -
38      for (i = 0; i < MAX_FUNCS; i++) {
39          if (!xf86SigIOFuncs[i].f) {
40              if (xf86IsPipe(fd))
41 @@ -256,9 +253,6 @@ xf86RemoveSIGIOHandler(int fd)
42      int max;
43      int ret;
44  
45 -    if (!xf86Info.useSIGIO)
46 -        return 0;
47 -
48      max = 0;
49      ret = 0;
50      for (i = 0; i < MAX_FUNCS; i++) {
51 -- 
52 2.7.4
53