summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-01-01 14:53:01 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-01-01 14:53:01 +0000
commite7a1f93118e54b053669ddf6b87d738c867cb1ff (patch)
treee6594d91a25cf82d1aa331bea450896e2b2dc7d0 /net-misc/tightvnc/files
parentVersion bump (diff)
downloadhistorical-e7a1f93118e54b053669ddf6b87d738c867cb1ff.tar.gz
historical-e7a1f93118e54b053669ddf6b87d738c867cb1ff.tar.bz2
historical-e7a1f93118e54b053669ddf6b87d738c867cb1ff.zip
Add patch for compiling on sh, mark ~sh
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64
Diffstat (limited to 'net-misc/tightvnc/files')
-rw-r--r--net-misc/tightvnc/files/1.3.9-sh.patch28
1 files changed, 28 insertions, 0 deletions
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