From 80c0ffe0ac6629c85077a87921219ea8bdce7459 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Fri, 23 Jul 2004 05:10:18 +0000 Subject: [PATCH] provide proper definitions so this builds on powerpc --- ...h-Xvnc_programs_Xserver_include_servermd_h | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/net/tightvnc/patches/patch-Xvnc_programs_Xserver_include_servermd_h b/net/tightvnc/patches/patch-Xvnc_programs_Xserver_include_servermd_h index 2f0f0d18745..4a6049cae2c 100644 --- a/net/tightvnc/patches/patch-Xvnc_programs_Xserver_include_servermd_h +++ b/net/tightvnc/patches/patch-Xvnc_programs_Xserver_include_servermd_h @@ -1,9 +1,21 @@ -$OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.2 2004/06/13 07:01:29 pvalchev Exp $ ---- Xvnc/programs/Xserver/include/servermd.h.orig 2004-06-07 08:46:28.000000000 -0600 -+++ Xvnc/programs/Xserver/include/servermd.h 2004-06-13 00:55:18.000000000 -0600 -@@ -149,8 +149,29 @@ SOFTWARE. +$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 +@@ -132,7 +132,7 @@ SOFTWARE. - #endif /* LynxOS PowerPC */ + #endif /* vax */ + +-#if (defined(Lynx) && defined(__powerpc__)) ++#ifdef __powerpc__ + + /* For now this is for Xvfb only */ + #define IMAGE_BYTE_ORDER MSBFirst +@@ -147,10 +147,31 @@ SOFTWARE. + + #define FAST_MEMCPY + +-#endif /* LynxOS PowerPC */ ++#endif /* PowerPC */ +#if defined(__sh__) + @@ -53,10 +65,11 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.2 2004/06/13 07:01: #if defined (M4310) || defined(M4315) || defined(M4317) || defined(M4319) || defined(M4330) #define IMAGE_BYTE_ORDER MSBFirst /* Values for Pegasus only */ -@@ -306,6 +313,27 @@ SOFTWARE. +@@ -305,6 +312,27 @@ SOFTWARE. + #define LOG2_BYTES_PER_SCANLINE_PAD_PROTO 2 #endif /* alpha */ - ++ +#if defined(__AMD64__) || defined(AMD64) || defined(__amd64__) +# define IMAGE_BYTE_ORDER LSBFirst + @@ -77,7 +90,6 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.2 2004/06/13 07:01: +/* ???? */ +# define FAST_UNALIGNED_READS +#endif /* AMD64 */ -+ + #ifdef stellar - #define IMAGE_BYTE_ORDER MSBFirst /* Values for the stellar only*/