0003-Remove-check-for-useSIGIO-option.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. Original patch follows:
  6. Commit 6a5a4e60373c1386b311b2a8bb666c32d68a9d99 removes the configure of useSIGIO
  7. option.
  8. As the xfree86 SIGIO support is reworked to use internal versions of OsBlockSIGIO
  9. and OsReleaseSIGIO.
  10. No longer the check for useSIGIO is needed
  11. Upstream-Status: Pending
  12. Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
  13. Downloaded from
  14. https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-graphics/xorg-xserver/xserver-xorg/0003-Remove-check-for-useSIGIO-option.patch
  15. Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
  16. ---
  17. hw/xfree86/os-support/shared/sigio.c | 6 ------
  18. 1 file changed, 6 deletions(-)
  19. diff --git a/hw/xfree86/os-support/shared/sigio.c b/hw/xfree86/os-support/shared/sigio.c
  20. index 884a71c..be76498 100644
  21. --- a/hw/xfree86/os-support/shared/sigio.c
  22. +++ b/hw/xfree86/os-support/shared/sigio.c
  23. @@ -185,9 +185,6 @@ xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure)
  24. int i;
  25. int installed = FALSE;
  26. - if (!xf86Info.useSIGIO)
  27. - return 0;
  28. -
  29. for (i = 0; i < MAX_FUNCS; i++) {
  30. if (!xf86SigIOFuncs[i].f) {
  31. if (xf86IsPipe(fd))
  32. @@ -256,9 +253,6 @@ xf86RemoveSIGIOHandler(int fd)
  33. int max;
  34. int ret;
  35. - if (!xf86Info.useSIGIO)
  36. - return 0;
  37. -
  38. max = 0;
  39. ret = 0;
  40. for (i = 0; i < MAX_FUNCS; i++) {
  41. --
  42. 2.7.4