From 02306b2811490744ea96e366a84d7b8c2244fe01 Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Thu, 1 Jan 2009 14:53:01 +0000 Subject: Add patch for compiling on sh, mark ~sh (Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64) --- net-misc/tightvnc/files/1.3.9-sh.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 net-misc/tightvnc/files/1.3.9-sh.patch (limited to 'net-misc/tightvnc/files') diff --git a/net-misc/tightvnc/files/1.3.9-sh.patch b/net-misc/tightvnc/files/1.3.9-sh.patch new file mode 100644 index 000000000000..db76917f4e42 --- /dev/null +++ b/net-misc/tightvnc/files/1.3.9-sh.patch @@ -0,0 +1,28 @@ +diff -ur vnc_unixsrc.orig/Xvnc/config/cf/linux.cf vnc_unixsrc/Xvnc/config/cf/linux.cf +--- vnc_unixsrc.orig/Xvnc/config/cf/linux.cf 2009-01-01 11:41:14.000000000 +0100 ++++ vnc_unixsrc/Xvnc/config/cf/linux.cf 2009-01-01 11:44:08.000000000 +0100 +@@ -43,7 +43,8 @@ + #if defined(AlphaArchitecture) || defined(PowerPCArchitecture) || \ + defined(SparcArchitecture) || defined(ArmArchitecure) || \ + defined(i386Architecture) || defined(s390Architecture) || \ +- defined(s390xArchitecture) || defined(MipsArchitecture) ++ defined(s390xArchitecture) || defined(MipsArchitecture) || \ ++ defined(SuperHArchitecture) + #define DefaultLinuxCLibMajorVersion 6 + #else + #define DefaultLinuxCLibMajorVersion 5 +@@ -312,6 +313,14 @@ + #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines + #endif /* Arm */ + ++#ifdef SuperHArchitecture ++#define DefaultCCOptions -fsigned-char ++#define OptimizedCDebugFlags -O2 ++#define LinuxMachineDefines -D__sh__ ++#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET ++#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines ++#endif /* SuperH */ ++ + #ifdef SparcArchitecture + #define OptimizedCDebugFlags -O2 + #define LinuxMachineDefines -D__sparc__ \ No newline at end of file -- cgit v1.2.3-65-gdbad