pkgsrc/x11/xorg-cf-files/patches/patch-ag
joerg fa3fb5ee13 Import xorg-cf-files-1.0.2 with the local changes from xorg-imake.
This are the default rules used by imake. Platforms other than
DragonFly, FreeBSD, Linux and NetBSD will most likely want some work
here.

OK for import during freeze: agc@ and wiz@
2006-12-19 22:54:51 +00:00

26 lines
672 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2006/12/19 22:54:51 joerg Exp $
--- Imake.cf.orig 2005-11-08 06:33:24.000000000 +0000
+++ Imake.cf
@@ -234,8 +234,9 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v
# ifdef mc68000
# define Mc68020Architecture
# endif
-# ifdef __arm32__
+# if defined(__arm__) || defined(__arm32__)
# define Arm32Architecture
+# undef __arm__
# undef __arm32__
# endif
# ifdef __vax__
@@ -246,6 +247,10 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v
# define PpcArchitecture
# undef __powerpc__
# endif
+# ifdef __x86_64__
+# define AMD64Architecture
+# undef __x86_64__
+# endif
#endif /* NetBSD */
/* Systems based on kernel of NetBSD */