summaryrefslogtreecommitdiff
path: root/devel/xulrunner192/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'devel/xulrunner192/patches/patch-af')
-rw-r--r--devel/xulrunner192/patches/patch-af32
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/xulrunner192/patches/patch-af b/devel/xulrunner192/patches/patch-af
new file mode 100644
index 00000000000..adcd107ad1c
--- /dev/null
+++ b/devel/xulrunner192/patches/patch-af
@@ -0,0 +1,32 @@
+$NetBSD: patch-af,v 1.1.1.1 2011/04/19 11:16:07 tnn Exp $
+
+--- config/mkdepend/imakemdep.h.orig 2009-06-29 18:14:41.000000000 +0200
++++ config/mkdepend/imakemdep.h
+@@ -235,7 +235,7 @@ in this Software without prior written a
+ #ifdef _CRAY
+ #define DEFAULT_CPP "/lib/pcpp"
+ #endif
+-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
++#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ #define DEFAULT_CPP "/usr/libexec/cpp"
+ #endif
+ #ifdef MACH
+@@ -273,7 +273,7 @@ char *cpp_argv[ARGUMENTS] = {
+ #ifdef unix
+ "-Uunix", /* remove unix symbol so that filename unix.c okay */
+ #endif
+-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH)
++#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH) || defined(__DragonFly__)
+ # ifdef __i386__
+ "-D__i386__",
+ # endif
+@@ -713,6 +713,9 @@ struct symtab predefs[] = {
+ #ifdef __sgi
+ {"__sgi", "1"},
+ #endif
++#ifdef __DragonFly__
++ {"__DragonFly__", "1"},
++#endif
+ #ifdef __FreeBSD__
+ {"__FreeBSD__", "1"},
+ #endif