x11proto: update and patch

This commit is contained in:
Jeremy Soller 2025-05-02 10:12:57 -06:00
parent f2a3df2473
commit df49f26b81
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
2 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#TODO compiled but not tested
[source]
tar = "https://www.x.org/releases/individual/proto/xorgproto-2023.2.tar.xz"
tar = "https://www.x.org/releases/individual/proto/xorgproto-2024.1.tar.xz"
blake3 = "fad667bb04e16dca5e816969f2641bb075929cd73564114cc1aabd87d1975dd3"
patches = ["redox.patch"]
[build]
template = "configure"

View File

@ -0,0 +1,12 @@
diff -ruwN xorgproto-2023.2/include/X11/Xos_r.h source/include/X11/Xos_r.h
--- xorgproto-2023.2/include/X11/Xos_r.h 2023-06-16 01:32:38.000000000 -0600
+++ source/include/X11/Xos_r.h 2025-05-02 10:10:07.250524701 -0600
@@ -318,7 +318,7 @@
(_Xos_processUnlock), \
(p).pwp )
-#elif !defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(__APPLE__)
+#elif !defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(__APPLE__) && !defined(__redox__)
# define X_NEEDS_PWPARAMS
typedef struct {
struct passwd pws;