Thanks a lot for the patch! Will be added on next upload.
Regards, // Ola On Tue, Nov 22, 2005 at 08:18:28PM +0100, Thiemo Seufer wrote: > Package: tightvnc > Version: 1.2.9-8 > Tags: patch > > The appended patch adds support for Linux mips/mipsel to tightvnc. > > > Thiemo > > > diff -urpN tightvnc-1.2.9.old/Xvnc/config/cf/linux.cf > tightvnc-1.2.9/Xvnc/config/cf/linux.cf > --- tightvnc-1.2.9.old/Xvnc/config/cf/linux.cf 2005-11-22 > 20:06:32.000000000 +0100 > +++ tightvnc-1.2.9/Xvnc/config/cf/linux.cf 2005-11-22 19:45:47.000000000 > +0100 > @@ -43,7 +43,9 @@ XCOMM platform: $XFree86: xc/config/cf/ > #if defined(AlphaArchitecture) || defined(PowerPCArchitecture) || \ > defined(SparcArchitecture) || defined(ArmArchitecure) || \ > defined(i386Architecture) || defined(s390Architecture) || \ > - defined(s390xArchitecture) > + defined(s390xArchitecture) || defined(MipsArchitecure) || \ > + defined(MipselArchitecure) > + > #define DefaultLinuxCLibMajorVersion 6 > #else > #define DefaultLinuxCLibMajorVersion 5 > @@ -165,6 +167,12 @@ XCOMM binutils: (LinuxBinUtilsMajorVersi > #define LdCmd ld > #define AsmDefines -D__ELF__ > #define CplusplusCmd c++ > +#ifdef MipsArchitecture > +#define AsCmd gcc -c -x assembler-with-cpp > +#endif /* MipsArchitecture */ > +#ifdef MipselArchitecture > +#define AsCmd gcc -c -x assembler-with-cpp > +#endif /* MipselArchitecture */ > #if UseStaticTermcapLib > #define TermcapLibrary StaticLibrary(/usr/lib/termcap,termcap) > #endif > @@ -329,6 +337,20 @@ 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 */ > + > +#ifdef MipselArchitecture > +#define OptimizedCDebugFlags -O2 > +#define LinuxMachineDefines -D__mips__ > +#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME > -DPART_NET > +#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines > +#endif /* MipselArchitecture */ > + > /*================================================================ > BEGIN ORL VNC modification > Always define _REENTRANT since we may use threaded libraries */ > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]