Package: tightvnc
Version: 1.3.9-1
Severity: important
Tags: patch

The appended patch adds some missing bits to the Imake configuration
for Linux/MIPS. Tested on big-endian mips, I believe mipsel will be
fine, too.


Thiemo


diff -urpN tightvnc-1.3.9.old/Xvnc/config/cf/linux.cf 
tightvnc-1.3.9/Xvnc/config/cf/linux.cf
--- tightvnc-1.3.9.old/Xvnc/config/cf/linux.cf  2006-12-23 12:07:55.000000000 
+0000
+++ tightvnc-1.3.9/Xvnc/config/cf/linux.cf      2008-05-16 07:32:47.000000000 
+0100
@@ -43,7 +43,7 @@ XCOMM platform:  $XFree86: xc/config/cf/
 #if defined(AlphaArchitecture) || defined(PowerPCArchitecture) || \
     defined(SparcArchitecture) || defined(ArmArchitecure) || \
     defined(i386Architecture) || defined(s390Architecture) || \
-    defined(s390xArchitecture)
+    defined(s390xArchitecture) || defined(MipsArchitecture)
 #define DefaultLinuxCLibMajorVersion   6
 #else
 #define DefaultLinuxCLibMajorVersion   5
@@ -322,6 +322,13 @@ XCOMM binutils:    (LinuxBinUtilsMajorVersi
 #endif
 #endif /* SparcArchitecture */
 
+#ifdef MipsArchitecture
+#define OptimizedCDebugFlags   -O2
+#define LinuxMachineDefines    -D__mips__
+#define ServerOSDefines                XFree86ServerOSDefines -DDDXTIME 
-DPART_NET
+#define ServerExtraDefines     -DGCCUSESGAS XFree86ServerDefines
+#endif /* MipsArchitecture */
+
 /*================================================================
    BEGIN ORL VNC modification
    Always define _REENTRANT since we may use threaded libraries */
diff -urpN tightvnc-1.3.9.old/Xvnc/programs/Xserver/cfb/Imakefile 
tightvnc-1.3.9/Xvnc/programs/Xserver/cfb/Imakefile
--- tightvnc-1.3.9.old/Xvnc/programs/Xserver/cfb/Imakefile      2002-03-20 
05:16:03.000000000 +0000
+++ tightvnc-1.3.9/Xvnc/programs/Xserver/cfb/Imakefile  2008-05-16 
08:11:23.000000000 +0100
@@ -193,8 +193,11 @@ stipmipste.s: stipmips.s
 clean::
        $(RM) stipmipste.s
 
+stipmips.o: stipmips.s
+       $(CPP) AsmDefines stipmips.s | $(AS) -o $@ -
+
 stipmipste.o: stipmipste.s
-       $(AS) -o $@ -DTETEXT stipmipste.s
+       $(CPP) AsmDefines -DTETEXT stipmipste.s | $(AS) -o $@ -
 #endif
 
 #ifdef SparcArchitecture



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to