summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-11-03 13:22:03 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-11-03 13:22:03 +0000
commit5212e63527faa07f822d165be6bbf225818b43a5 (patch)
treebcfb63a1633c9255624c49db6c54ff235c52d99d /net-misc/tightvnc/files/x86.patch
parentebuild that compiles on amd64 (diff)
downloadgentoo-2-5212e63527faa07f822d165be6bbf225818b43a5.tar.gz
gentoo-2-5212e63527faa07f822d165be6bbf225818b43a5.tar.bz2
gentoo-2-5212e63527faa07f822d165be6bbf225818b43a5.zip
ebuild that compiles on amd64
Diffstat (limited to 'net-misc/tightvnc/files/x86.patch')
-rw-r--r--net-misc/tightvnc/files/x86.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/tightvnc/files/x86.patch b/net-misc/tightvnc/files/x86.patch
new file mode 100644
index 000000000000..e3f753aa5cb4
--- /dev/null
+++ b/net-misc/tightvnc/files/x86.patch
@@ -0,0 +1,39 @@
+--- vnc_unixsrc/Xvnc/config/cf/Imake.cf.x86_64 2003-03-04 15:33:20.000000000 +0100
++++ vnc_unixsrc/Xvnc/config/cf/Imake.cf 2003-03-04 15:35:06.000000000 +0100
+@@ -579,6 +579,10 @@
+ # define PowerPCArchitecture
+ # undef __powerpc__
+ # endif
++# ifdef __x86_64__
++# define x86_64Architecture
++# undef __x86_64__
++# endif
+ #endif /* linux */
+
+ #if (defined(__Lynx__) || defined(Lynx)) && (defined(i386) || defined(__i386__) || defined(__x86__) || defined(__powerpc__) || defined(__sparc__) || defined(sparc))
+--- vnc_unixsrc/Xvnc/config/cf/linux.cf.x86_64 2003-03-04 15:30:01.000000000 +0100
++++ vnc_unixsrc/Xvnc/config/cf/linux.cf 2003-03-04 15:37:07.000000000 +0100
+@@ -43,7 +43,7 @@
+ #if defined(AlphaArchitecture) || defined(PowerPCArchitecture) || \
+ defined(SparcArchitecture) || defined(ArmArchitecure) || \
+ defined(i386Architecture) || defined(s390Architecture) || \
+- defined(s390xArchitecture)
++ defined(s390xArchitecture) || defined(x86_64Architecture)
+ #define DefaultLinuxCLibMajorVersion 6
+ #else
+ #define DefaultLinuxCLibMajorVersion 5
+@@ -290,6 +290,14 @@
+ #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
+ #endif /* PowerPCArchitecture */
+
++#ifdef x86_64Architecture
++#define DefaultCCOptions -fsigned-char
++#define OptimizedCDebugFlags -O2
++#define LinuxMachineDefines -D__x86_64__
++#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
++#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
++#endif /* x86_64PCArchitecture */
++
+ #ifdef ArmArchitecture
+ #define DefaultCCOptions -fsigned-char
+ #define OptimizedCDebugFlags -O2