pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / xorg-server / patches / 14-signal-handler.patch
blobceeeca2f23e4d48115a4c4b5a04c4e0ea51457a9
1 diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c
2 index 398178e..929dc7c 100644
3 --- a/hw/xfree86/dri/dri.c
4 +++ b/hw/xfree86/dri/dri.c
5 @@ -2500,7 +2500,11 @@ drmInstallSIGIOHandler(int fd, void (*f) (int, void *, void *))
6 entry = drmGetEntry(fd);
7 entry->f = f;
9 +#if defined(__sun) && defined(__SVR4)
10 + return 1;
11 +#else
12 return xf86InstallSIGIOHandler(fd, drmSIGIOHandler, 0);
13 +#endif
16 int
17 @@ -2510,5 +2514,9 @@ drmRemoveSIGIOHandler(int fd)
19 entry->f = NULL;
21 +#if defined(__sun) && defined(__SVR4)
22 + return 1;
23 +#else
24 return xf86RemoveSIGIOHandler(fd);
25 +#endif