summarylogtreecommitdiffstats
path: root/0001-Fix-missing-symbols.patch
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-02-16 16:36:20 -0300
committerGonzalo Exequiel Pedone2024-02-16 16:36:20 -0300
commit51a55957a352f7ff3ad4ea5b5844bed8d49d55c7 (patch)
treee0ab357ec45e42015beb1d43b68f642e50f6146b /0001-Fix-missing-symbols.patch
downloadaur-51a55957a352f7ff3ad4ea5b5844bed8d49d55c7.tar.gz
New package.
Diffstat (limited to '0001-Fix-missing-symbols.patch')
-rw-r--r--0001-Fix-missing-symbols.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-Fix-missing-symbols.patch b/0001-Fix-missing-symbols.patch
new file mode 100644
index 000000000000..1c1e92a09f78
--- /dev/null
+++ b/0001-Fix-missing-symbols.patch
@@ -0,0 +1,25 @@
+--- a/src/xcb_io.c
++++ b/src/xcb_io.c
+@@ -24,6 +24,11 @@
+ #include <sys/select.h>
+ #endif
+
++struct _LockInfoRec;
++typedef struct _LockInfoRec *LockInfoPtr;
++extern LockInfoPtr *_Xglobal_lock_p;
++#define _Xglobal_lock (*_Xglobal_lock_p)
++
+ #define xcb_fail_assert(_message, _var) { \
+ unsigned int _var = 1; \
+ fprintf(stderr, "[xcb] Aborting, sorry about that.\n"); \
+--- a/src/XlibInt.c
++++ b/src/XlibInt.c
+@@ -132,6 +132,8 @@
+
+ #define POLLFD_CACHE_SIZE 5
+
++#define FIONREAD 0x541B
++
+ /* initialize the struct array passed to poll() below */
+ Bool _XPollfdCacheInit(
+ Display *dpy)