summaryrefslogtreecommitdiff
path: root/fonts/xorg-fontsEncodings/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/xorg-fontsEncodings/patches/patch-aa')
-rw-r--r--fonts/xorg-fontsEncodings/patches/patch-aa40
1 files changed, 40 insertions, 0 deletions
diff --git a/fonts/xorg-fontsEncodings/patches/patch-aa b/fonts/xorg-fontsEncodings/patches/patch-aa
new file mode 100644
index 00000000000..a8ea7d6908e
--- /dev/null
+++ b/fonts/xorg-fontsEncodings/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1 2005/05/23 20:53:28 xtraeme Exp $
+
+--- config/cf/Imake.cf.orig 2004-08-12 06:14:01.000000000 +0900
++++ config/cf/Imake.cf 2004-11-09 03:52:53.000000000 +0900
+@@ -246,6 +246,10 @@
+ # define PpcArchitecture
+ # undef __powerpc__
+ # endif
++# ifdef __x86_64__
++# define AMD64Architecture
++# undef __x86_64__
++# endif
+ #endif /* NetBSD */
+
+ /* Systems based on kernel of NetBSD */
+@@ -253,7 +257,23 @@
+ #define KNetBSDArchitecture
+ #endif
+
+-#ifdef __FreeBSD__
++#ifdef __DragonFly__
++# define MacroIncludeFile <DragonFly.cf>
++# define MacroFile DragonFly.cf
++# undef __DragonFly__
++# define FreeBSDArchitecture
++# define KFreeBSDArchitecture
++# ifdef __i386__
++# define i386BsdArchitecture
++# define i386Architecture
++# undef i386
++# endif
++# ifdef __amd64__
++# define AMD64Architecture
++# undef __amd64__
++# undef __x86_64__
++# endif
++#elif defined __FreeBSD__
+ # define MacroIncludeFile <FreeBSD.cf>
+ # define MacroFile FreeBSD.cf
+ # undef __FreeBSD__