mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
x11proto: update and patch
This commit is contained in:
parent
f2a3df2473
commit
df49f26b81
@ -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"
|
||||
|
||||
12
recipes/wip/x11/x11proto/redox.patch
Normal file
12
recipes/wip/x11/x11proto/redox.patch
Normal 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;
|
||||
Loading…
Reference in New Issue
Block a user