summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boehm-gc/patches/patch-ag')
-rw-r--r--devel/boehm-gc/patches/patch-ag22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/boehm-gc/patches/patch-ag b/devel/boehm-gc/patches/patch-ag
new file mode 100644
index 00000000000..b572853f92c
--- /dev/null
+++ b/devel/boehm-gc/patches/patch-ag
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.1 1999/09/24 16:42:06 jlam Exp $
+
+--- mach_dep.c.orig Sun Jun 27 06:26:50 1999
++++ mach_dep.c Wed Sep 22 17:39:42 1999
+@@ -197,6 +197,8 @@
+ && !defined(SCO) && !defined(SCO_ELF) \
+ && !(defined(LINUX) && defined(__ELF__)) \
+ && !(defined(__FreeBSD__) && defined(__ELF__)) \
++ && !(defined(__NetBSD__) && defined(__ELF__)) \
++ && !(defined(__OpenBSD__) && defined(__ELF__)) \
+ && !defined(DOS4GW)
+ /* I386 code, generic code does not appear to work */
+ /* It does appear to work under OS2, and asms dont */
+@@ -212,6 +214,8 @@
+
+ # if ( defined(I386) && defined(LINUX) && defined(__ELF__) ) \
+ || ( defined(I386) && defined(__FreeBSD__) && defined(__ELF__) )
++ || ( defined(I386) && defined(__NetBSD__) && defined(__ELF__) )
++ || ( defined(I386) && defined(__OpenBSD__) && defined(__ELF__) )
+
+ /* This is modified for Linux with ELF (Note: _ELF_ only) */
+ /* This section handles FreeBSD with ELF. */