signal-handler.patch revision 1124
536N/Adiff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c
536N/Aindex 3c64ae4..62e6c7f 100644
536N/A--- a/hw/xfree86/dri/dri.c
536N/A+++ b/hw/xfree86/dri/dri.c
536N/A@@ -2489,7 +2489,11 @@ int drmInstallSIGIOHandler(int fd, void (*f)(int, void *, void *))
536N/A entry = drmGetEntry(fd);
536N/A entry->f = f;
536N/A
536N/A+#if defined(__sun) && defined(__SVR4)
536N/A+ return 1;
536N/A+#else
536N/A return xf86InstallSIGIOHandler(fd, drmSIGIOHandler, 0);
536N/A+#endif
536N/A }
536N/A
536N/A int drmRemoveSIGIOHandler(int fd)
536N/A@@ -2498,5 +2502,9 @@ int drmRemoveSIGIOHandler(int fd)
536N/A
536N/A entry->f = NULL;
536N/A
536N/A+#if defined(__sun) && defined(__SVR4)
536N/A+ return 1;
536N/A+#else
536N/A return xf86RemoveSIGIOHandler(fd);
536N/A+#endif
536N/A }
536N/A