diff options
Diffstat (limited to 'net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf')
-rw-r--r-- | net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf b/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf index 59aae4a84bd2..99b35a2822f4 100644 --- a/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf +++ b/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf @@ -1,18 +1,28 @@ --- Xvnc/config/cf/FreeBSD.cf.orig 2000-06-11 21:00:51.000000000 +0900 +++ Xvnc/config/cf/FreeBSD.cf 2009-03-09 08:18:00.000000000 +0900 +@@ -223,7 +223,9 @@ XCOMM operating system: OSName (OSMajor + # define GccGasOption /**/ + #endif + ++#ifndef x86_64Architecture + #define ServerExtraDefines GccGasOption XFree86ServerDefines ++#endif + + #define StandardDefines -DCSRG_BASED + @@ -253,11 +253,17 @@ #endif #ifdef i386Architecture -# define OptimizedCDebugFlags DefaultGcc2i386Opt -+# define OptimizedCDebugFlags -O2 -pipe ++# define OptimizedCDebugFlags %%CFLAGS%% #else -# define OptimizedCDebugFlags -O2 -+# define OptimizedCDebugFlags -O2 -pipe ++# define OptimizedCDebugFlags %%CFLAGS%% #endif +#ifdef x86_64Architecture -+# define OptimizedCDebugFlags -O2 -pipe ++# define OptimizedCDebugFlags %%CFLAGS%% +# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME +# define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64 +#endif /* x86_64Architecture */ |