summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xserver_xorg-server/xserver_xorg-server-1.4-servermd-add-avr32.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/xserver_xorg-server/xserver_xorg-server-1.4-servermd-add-avr32.patch')
-rw-r--r--package/x11r7/xserver_xorg-server/xserver_xorg-server-1.4-servermd-add-avr32.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server-1.4-servermd-add-avr32.patch b/package/x11r7/xserver_xorg-server/xserver_xorg-server-1.4-servermd-add-avr32.patch
new file mode 100644
index 000000000..6fbea607f
--- /dev/null
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server-1.4-servermd-add-avr32.patch
@@ -0,0 +1,19 @@
+--- a/include/servermd.h.orig 2007-08-23 15:04:54.000000000 -0400
++++ b/include/servermd.h 2007-10-03 12:08:40.000000000 -0400
+@@ -151,6 +151,16 @@ SOFTWARE.
+
+ #endif /* __arm32__ */
+
++#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__ */
++
+ #if defined (hpux) || defined __hppa__
+
+ #define IMAGE_BYTE_ORDER MSBFirst