summaryrefslogtreecommitdiffhomepage
path: root/patches/xorgproto-2022.2.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-09-18 23:35:39 +0200
committerØrjan Malde <red@foxi.me>2022-09-18 23:35:39 +0200
commit848783d62e40fb9c48df5d7a14a39cdce0159f81 (patch)
tree6c1839cfb7d30cb2ef70962b71c31f86a585b616 /patches/xorgproto-2022.2.local.patch
parentbc89580c58cf7d5c7b18fb8ab19e6d922c2726ad (diff)
downloadmidipix_build-848783d62e40fb9c48df5d7a14a39cdce0159f81.tar.bz2
midipix_build-848783d62e40fb9c48df5d7a14a39cdce0159f81.tar.xz
groups/261.native_packages_x11.group: xorgproto: bump to v2022.2
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/xorgproto-2022.2.local.patch')
-rw-r--r--patches/xorgproto-2022.2.local.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/xorgproto-2022.2.local.patch b/patches/xorgproto-2022.2.local.patch
new file mode 100644
index 00000000..ff2661a8
--- /dev/null
+++ b/patches/xorgproto-2022.2.local.patch
@@ -0,0 +1,14 @@
+diff -ru xorgproto-2022.2.orig/include/X11/Xwindows.h xorgproto-2022.2/include/X11/Xwindows.h
+--- xorgproto-2022.2.orig/include/X11/Xwindows.h 2022-08-11 02:16:33.000000000 +0200
++++ xorgproto-2022.2/include/X11/Xwindows.h 2022-09-18 23:34:11.811510908 +0200
+@@ -101,10 +101,6 @@
+ # define RT_CURSOR ((RESTYPE)5)
+ #endif
+
+-#ifndef __CYGWIN__
+-#define sleep(x) Sleep((x) * 1000)
+-#endif
+-
+ #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024)
+ # undef PATH_MAX
+ # define PATH_MAX 1024