summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.14.0/fix_compilation_when_not_using_xinerama.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg-1.14.0/fix_compilation_when_not_using_xinerama.patch')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg-1.14.0/fix_compilation_when_not_using_xinerama.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.14.0/fix_compilation_when_not_using_xinerama.patch b/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.14.0/fix_compilation_when_not_using_xinerama.patch
new file mode 100644
index 0000000000..f0c165d26c
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-1.14.0/fix_compilation_when_not_using_xinerama.patch
@@ -0,0 +1,21 @@
1Upstream-Status: Pending
2
3fix compilation when not using xinerama
4
5Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
6
7Index: xorg-server-1.14.0/xfixes/xfixesint.h
8===================================================================
9--- xorg-server-1.14.0.orig/xfixes/xfixesint.h 2012-07-10 09:06:41.000000000 +0300
10+++ xorg-server-1.14.0/xfixes/xfixesint.h 2013-03-11 15:01:07.019098531 +0200
11@@ -291,8 +291,10 @@
12 SProcXFixesDestroyPointerBarrier(ClientPtr client);
13
14 /* Xinerama */
15+#ifdef PANORAMIX
16 extern int (*PanoramiXSaveXFixesVector[XFixesNumberRequests]) (ClientPtr);
17 void PanoramiXFixesInit(void);
18 void PanoramiXFixesReset(void);
19+#endif
20
21 #endif /* _XFIXESINT_H_ */