diff --git a/recipes/wip/x11/x11proto/recipe.toml b/recipes/wip/x11/x11proto/recipe.toml index b02e686f9..fc5be2a28 100644 --- a/recipes/wip/x11/x11proto/recipe.toml +++ b/recipes/wip/x11/x11proto/recipe.toml @@ -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" diff --git a/recipes/wip/x11/x11proto/redox.patch b/recipes/wip/x11/x11proto/redox.patch new file mode 100644 index 000000000..55a319304 --- /dev/null +++ b/recipes/wip/x11/x11proto/redox.patch @@ -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;