summaryrefslogtreecommitdiff
path: root/lang/pnet/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/pnet/patches/patch-ad')
-rw-r--r--lang/pnet/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/pnet/patches/patch-ad b/lang/pnet/patches/patch-ad
new file mode 100644
index 00000000000..84d03d4cbf5
--- /dev/null
+++ b/lang/pnet/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/02/26 20:38:52 joerg Exp $
+
+--- libgc/include/gc_config_macros.h.orig 2005-07-23 23:22:58.000000000 +0000
++++ libgc/include/gc_config_macros.h
+@@ -87,7 +87,7 @@
+ # define GC_DARWIN_THREADS
+ # define GC_PTHREADS
+ # endif
+-# if !defined(GC_PTHREADS) && defined(__FreeBSD__)
++# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))
+ # define GC_FREEBSD_THREADS
+ # define GC_PTHREADS
+ # endif