1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../tightvnc/x86_64-ppc64.patch.unixsrc
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
18 What people still use as build system is disgusting ...
20 - Rene Rebe <rene@exactcode.de>
22 --- ./Xvnc/config/cf/linux.cf.vanilla 2006-01-14 16:26:22.000000000 +0100
23 +++ ./Xvnc/config/cf/linux.cf 2006-01-14 16:56:58.000000000 +0100
25 #if defined(AlphaArchitecture) || defined(PowerPCArchitecture) || \
26 defined(SparcArchitecture) || defined(ArmArchitecure) || \
27 defined(i386Architecture) || defined(s390Architecture) || \
28 - defined(s390xArchitecture)
29 + defined(s390xArchitecture) || defined(AMD64Architecture) || \
30 + defined(Ppc64Architecture)
31 #define DefaultLinuxCLibMajorVersion 6
33 #define DefaultLinuxCLibMajorVersion 5
35 #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
36 #endif /* i386Architecture */
38 +#ifdef AMD64Architecture
39 +#warning here amd64 again
40 +# define LinuxMachineDefines -D__amd64__
41 +# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
42 +# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
43 +#endif /* AMD64Architecture */
45 +#ifdef Ppc64Architecture
47 +# define DefaultCCOptions -mminimal-toc
48 +# define LinuxMachineDefines -D__powerpc64__ -D__powerpc__
49 +# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
50 +# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
51 +#endif /* Ppc64Architecture */
53 #ifdef AlphaArchitecture
54 #define OptimizedCDebugFlags -O2
55 #define LinuxMachineDefines -D__alpha__
57 #define StandardDefines -Dlinux LinuxMachineDefines LinuxSourceDefines
60 +#ifndef LinuxMachineDefines
61 +#error LinuxMachineDefines not defined
64 #define StandardDefines -Dlinux LinuxMachineDefines \
65 LinuxSourceDefines -D_REENTRANT
67 --- ./Xvnc/config/cf/Imake.cf.vanilla 2006-01-14 16:42:54.000000000 +0100
68 +++ ./Xvnc/config/cf/Imake.cf 2006-01-14 16:52:12.000000000 +0100
73 +# if defined(__amd64) || defined(__x86_64)
78 +# define AMD64Architecture
81 # define s390Architecture
88 +# ifndef Ppc64Architecture
89 +# define Ppc64Architecture
91 +# undef __powerpc64__
94 # define SparcArchitecture