proper defines for __arm__ so this builds there; no binary package change

from current X distrib via Stuart Henderson <sthen@spacehopper.org>
This commit is contained in:
pvalchev 2005-10-13 01:37:26 +00:00
parent 650e1acc6f
commit 15c8531c04

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.3 2004/07/23 05:10:18 pvalchev Exp $
--- Xvnc/programs/Xserver/include/servermd.h.orig Wed Aug 7 05:42:53 2002
+++ Xvnc/programs/Xserver/include/servermd.h Thu Jul 22 22:52:03 2004
$OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.4 2005/10/13 01:37:26 pvalchev Exp $
--- Xvnc/programs/Xserver/include/servermd.h.orig Wed Feb 19 09:39:54 2003
+++ Xvnc/programs/Xserver/include/servermd.h Wed Oct 12 16:24:00 2005
@@ -132,7 +132,7 @@ SOFTWARE.
#endif /* vax */
@ -10,13 +10,25 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.3 2004/07/23 05:10:
/* For now this is for Xvfb only */
#define IMAGE_BYTE_ORDER MSBFirst
@@ -147,10 +147,31 @@ SOFTWARE.
@@ -147,10 +147,43 @@ SOFTWARE.
#define FAST_MEMCPY
-#endif /* LynxOS PowerPC */
+#endif /* PowerPC */
+#if defined(__arm32__) || defined(__arm__)
+
+#define IMAGE_BYTE_ORDER LSBFirst
+#define BITMAP_BIT_ORDER LSBFirst
+
+#define GLYPHPADBYTES 4
+#define GETLEFTBITS_ALIGNMENT 1
+#define LARGE_INSTRUCTION_CACHE
+#define AVOID_MEMORY_READ
+
+#endif /* __arm32__ || __arm__ */
+
+#if defined(__sh__)
+
+#if defined(__BIG_ENDIAN__)
@ -44,7 +56,7 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.3 2004/07/23 05:10:
(defined(__uxp__) && (defined(sparc) || defined(mc68000))) || \
(defined(Lynx) && defined(__sparc__)) || \
((defined(__NetBSD__) || defined(__OpenBSD__)) && \
@@ -214,20 +235,6 @@ SOFTWARE.
@@ -214,20 +247,6 @@ SOFTWARE.
#endif /* ibm */
@ -65,7 +77,7 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.3 2004/07/23 05:10:
#if defined (M4310) || defined(M4315) || defined(M4317) || defined(M4319) || defined(M4330)
#define IMAGE_BYTE_ORDER MSBFirst /* Values for Pegasus only */
@@ -305,6 +312,27 @@ SOFTWARE.
@@ -305,6 +324,27 @@ SOFTWARE.
#define LOG2_BYTES_PER_SCANLINE_PAD_PROTO 2
#endif /* alpha */