[PATCH] xtestext conditional compile fix
Enrico Weigelt
weigelt at metux.de
Wed May 17 08:54:14 PDT 2006
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
rsync://sources.metux.de/metux-patches
---------------------------------------------------------------------
-------------- next part --------------
diff -ruN xorg-server-1.0.99.902.orig/Xext/xtest1dd.c xorg-server-1.0.99.902/Xext/xtest1dd.c
--- xorg-server-1.0.99.902.orig/Xext/xtest1dd.c Mon May 15 11:31:29 2006
+++ xorg-server-1.0.99.902/Xext/xtest1dd.c Tue May 16 17:15:06 2006
@@ -77,6 +77,9 @@
#include "xtest1dd.h"
+#ifdef XTESTEXT1
+2
+
/***************************************************************
* defines
***************************************************************/
@@ -1615,3 +1618,5 @@
sizeof(xTestQueryInputSizeReply),
(pointer) &rep);
}
+
+#endif
diff -ruN xorg-server-1.0.99.902.orig/Xext/xtest1di.c xorg-server-1.0.99.902/Xext/xtest1di.c
--- xorg-server-1.0.99.902.orig/Xext/xtest1di.c Mon May 15 11:31:29 2006
+++ xorg-server-1.0.99.902/Xext/xtest1di.c Tue May 16 17:20:22 2006
@@ -125,6 +125,8 @@
* function declarations
****************************************************************************/
+#ifdef XTESTEXT1
+
static DISPATCH_PROC(ProcXTestDispatch);
static DISPATCH_PROC(SProcXTestDispatch);
static DISPATCH_PROC(ProcTestFakeInput);
@@ -572,6 +574,7 @@
}
}
+
/*****************************************************************************
*
* ProcTestGetInput
@@ -952,3 +955,5 @@
}
}
}
+
+#endif
More information about the xorg-modular
mailing list