summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/files/xorg-avr32-support.diff
blob: 68320482b951959d0972e791aef391b16383bda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
upstream: https://bugs.freedesktop.org/show_bug.cgi?id=22129

--- /tmp/servermd.h	2007-09-30 17:27:22.310911628 +0200
+++ xorg-server-1.4/include/servermd.h	2007-09-30 17:28:25.297799199 +0200
@@ -130,6 +130,16 @@
 
 #endif /* vax */
 
+#ifdef __avr32__
+
+#define IMAGE_BYTE_ORDER        MSBFirst
+#define BITMAP_BIT_ORDER        MSBFirst
+#define GLYPHPADBYTES           4
+#define GETLEFTBITS_ALIGNMENT   1
+#define AVOID_MEMORY_READ
+
+#endif /* __avr32__ */ 
+
 #ifdef __arm32__
 
 #define IMAGE_BYTE_ORDER        LSBFirst