Xen_GPU_cluster: tightvnc-1.2.9-amd64support.patch

File tightvnc-1.2.9-amd64support.patch, 1.5 KB (added by rider, 15 years ago)

tightvnc-1.2.9_amd64_patch

  • Xvnc/config/cf/Imake.cf

    From: Andreas Jochens <aj@andaco.de>
    
    Package:tightvnc
    Severity: normal
    Tags: patch
    
    The package FTBFS on amd64 because there is no support for amd64 in 
    Xnvc/config/cf/Imake.cf and Xvnc/config/cf/linux.cf.
    
    Regards
    Andreas Jochens
    
    diff -urN ../tmp-orig/tightvnc-1.2.7/Xvnc/config/cf/Imake.cf ./Xvnc/config/cf/Imake.cf
    old new  
    740740#  endif
    741741#  undef __sparc__
    742742# endif
     743# ifdef x86_64
     744#  define x86_64Architecture
     745#  undef x86_64
     746# endif
     747# ifdef __x86_64__
     748#  ifndef x86_64Architecture
     749#   define x86_64Architecture
     750#  endif
     751#  undef __x86_64__
     752# endif
    743753# ifdef ia64
    744754#  define ia64Architecture
    745755#  undef ia64
  • Xvnc/config/cf/linux.cf

    diff -urN ../tmp-orig/tightvnc-1.2.7/Xvnc/config/cf/linux.cf ./Xvnc/config/cf/linux.cf
    old new  
    254254#define ServerExtraDefines  -DGCCUSESGAS XFree86ServerDefines
    255255#endif /* i386Architecture */
    256256
     257#ifdef x86_64Architecture
     258#define OptimizedCDebugFlags  -O2
     259#define LinuxMachineDefines -D__x86_64__
     260#define ServerOSDefines   XFree86ServerOSDefines -DDDXTIME -DPART_NET
     261#define ServerExtraDefines  -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
     262#endif /* x86_64Architecture */
     263
    257264#ifdef AlphaArchitecture
    258265#define OptimizedCDebugFlags  -O2
    259266#define LinuxMachineDefines -D__alpha__