summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-bs
blob: 1818b740c94f6e7e333b9ce232129d9759d4a777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bs,v 1.2 2006/06/27 11:11:52 joerg Exp $

--- config/mkdepend/imakemdep.h.orig	2004-04-20 21:38:14.000000000 +0000
+++ config/mkdepend/imakemdep.h
@@ -440,6 +440,9 @@ char *cpp_argv[ARGUMENTS] = {
 # ifdef __i386__
 	"-D__i386__",
 # endif
+#if defined(__amd64__) || defined(__x86_64__)
+	"-D__amd64__ -D__x86_64__",
+# endif
 # ifdef __GNUC__
 	"-traditional",
 # endif
@@ -716,6 +719,9 @@ struct symtab	predefs[] = {
 #ifdef __FreeBSD__
 	{"__FreeBSD__", "1"},
 #endif
+#ifdef __DragonFly__
+	{"__DragonFly__", "1"},
+#endif
 #ifdef __NetBSD__
 	{"__NetBSD__", "1"},
 #endif