diff --git a/x11-packages/libx11/libX11-1.6.7_src_CrGlCur.c.patch b/x11-packages/libx11/src-CrGlCur.c.patch similarity index 100% rename from x11-packages/libx11/libX11-1.6.7_src_CrGlCur.c.patch rename to x11-packages/libx11/src-CrGlCur.c.patch diff --git a/x11-packages/libx11/src-XlibInt.c.patch b/x11-packages/libx11/src-XlibInt.c.patch new file mode 100644 index 000000000..03dff6429 --- /dev/null +++ b/x11-packages/libx11/src-XlibInt.c.patch @@ -0,0 +1,12 @@ +diff -uNr libX11-1.6.8/src/XlibInt.c libX11-1.6.8.mod/src/XlibInt.c +--- libX11-1.6.8/src/XlibInt.c 2019-06-17 17:47:35.000000000 +0300 ++++ libX11-1.6.8.mod/src/XlibInt.c 2019-06-29 22:13:06.054460413 +0300 +@@ -1263,7 +1263,7 @@ + WSASetLastError(last_error); + #else + last_error = errno; +- ioctl(ConnectionNumber(dpy), FIONREAD, &bytes); ++ ioctl(ConnectionNumber(dpy), /* FIONREAD */ 0x541B, &bytes); + errno = last_error; + #endif + return bytes;