summaryrefslogtreecommitdiff
path: root/user/xscope/disable-xtrans.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-20 23:25:44 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-11-24 05:44:57 +0000
commit7523964b3c5d5bbd0dde73c8d5e1fcb361963ddb (patch)
treea70225eee1937d6925bfca86565a957dd1e3e7b1 /user/xscope/disable-xtrans.patch
parent57c8540d0f6e3252245e12c2a60bc67c73f5bc72 (diff)
downloadpackages-7523964b3c5d5bbd0dde73c8d5e1fcb361963ddb.tar.gz
packages-7523964b3c5d5bbd0dde73c8d5e1fcb361963ddb.tar.bz2
packages-7523964b3c5d5bbd0dde73c8d5e1fcb361963ddb.tar.xz
packages-7523964b3c5d5bbd0dde73c8d5e1fcb361963ddb.zip
user/xscope: Update to 1.4.3
Diffstat (limited to 'user/xscope/disable-xtrans.patch')
-rw-r--r--user/xscope/disable-xtrans.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/xscope/disable-xtrans.patch b/user/xscope/disable-xtrans.patch
new file mode 100644
index 000000000..ebc44ca66
--- /dev/null
+++ b/user/xscope/disable-xtrans.patch
@@ -0,0 +1,31 @@
+From 4e297db3cf54a629a2c8f38b068cd4f8434afa4c Mon Sep 17 00:00:00 2001
+From: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Wed, 13 Jul 2022 15:51:58 -0700
+Subject: [PATCH] fd.h: fix build when not building with xtrans
+
+Always include <X11/Xfuncproto.h> for the definition of _X_NORETURN,
+instead of relying on Xtrans.h to include it indirectly for us.
+
+Fixes: #2
+Fixes: commit cc298d1f559240976344588f9f765ee60ca3d6f3
+
+Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+---
+ fd.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/fd.h b/fd.h
+index c317aa4..55c5b01 100644
+--- a/fd.h
++++ b/fd.h
+@@ -65,6 +65,7 @@
+ typedef void *XtransConnInfo;
+ #endif
+ #include <sys/select.h>
++#include <X11/Xfuncproto.h>
+
+ typedef int FD;
+
+--
+GitLab
+