diff options
author | marcel <marcel@FreeBSD.org> | 2009-06-20 08:07:29 +0800 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2009-06-20 08:07:29 +0800 |
commit | eed04399d4079da14d5fd30ce565f6a24c213852 (patch) | |
tree | 12be2376486405b34e8cc8929a403d18370ab7e5 /net/vnc | |
parent | d1739305648e922102dbf1b0cbef746e5355e8ae (diff) | |
download | freebsd-ports-graphics-eed04399d4079da14d5fd30ce565f6a24c213852.tar.gz freebsd-ports-graphics-eed04399d4079da14d5fd30ce565f6a24c213852.tar.zst freebsd-ports-graphics-eed04399d4079da14d5fd30ce565f6a24c213852.zip |
Add support for ia64. This needs to be compiled at -O0 to be
functional.
Ok'd by: itetcu
Diffstat (limited to 'net/vnc')
-rw-r--r-- | net/vnc/files/FreeBSD.cf-patch | 2 | ||||
-rw-r--r-- | net/vnc/files/extra-patch-xfree86 | 14 |
2 files changed, 14 insertions, 2 deletions
diff --git a/net/vnc/files/FreeBSD.cf-patch b/net/vnc/files/FreeBSD.cf-patch index cc25e11d6c1..09cdaa8e97e 100644 --- a/net/vnc/files/FreeBSD.cf-patch +++ b/net/vnc/files/FreeBSD.cf-patch @@ -48,7 +48,7 @@ #ifdef i386Architecture #define ServerExtraDefines GccGasOption XFree86ServerDefines #endif -+#ifdef x86_64Architecture ++#if defined(x86_64Architecture) || defined(ia64Architecture) +# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME +# define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64 +#endif /* x86_64Architecture */ diff --git a/net/vnc/files/extra-patch-xfree86 b/net/vnc/files/extra-patch-xfree86 index 12839db5750..a27167dd9a7 100644 --- a/net/vnc/files/extra-patch-xfree86 +++ b/net/vnc/files/extra-patch-xfree86 @@ -35,6 +35,17 @@ # ifdef __alpha__ # define AlphaBsdArchitecture # define AlphaArchitecture +@@ -232,6 +245,10 @@ + # define Sparc64Architecture + # undef __sparc64__ + # endif ++# ifdef __ia64__ ++# define ia64Architecture ++# undef __ia64__ ++# endif + #endif /* __FreeBSD__ */ + + #ifdef AMOEBA --- xc/config/cf/xfree86.cf.orig 2003-02-27 05:07:59.000000000 +0900 +++ xc/config/cf/xfree86.cf 2007-09-09 20:40:56.000000000 +0900 @@ -1167,7 +1167,7 @@ @@ -85,13 +96,14 @@ # endif --- xc/programs/Xserver/hw/xfree86/os-support/bsd/Imakefile.orig 2003-02-18 01:37:19.000000000 +0900 +++ xc/programs/Xserver/hw/xfree86/os-support/bsd/Imakefile 2007-09-07 06:38:14.000000000 +0900 -@@ -150,6 +150,9 @@ +@@ -150,6 +150,10 @@ #elif defined(Sparc64Architecture) VIDEO_SRC = sparc64_video.c VIDEO_OBJ = sparc64_video.o +#elif defined(x86_64Architecture) +VIDEO_SRC = i386_video.c +VIDEO_OBJ = i386_video.o ++#elif defined(ia64Architecture) #else #error Unknown architecture ! #endif |