summaryrefslogtreecommitdiff
path: root/devel/pwlib/patches/patch-av
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pwlib/patches/patch-av')
-rw-r--r--devel/pwlib/patches/patch-av13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/pwlib/patches/patch-av b/devel/pwlib/patches/patch-av
new file mode 100644
index 00000000000..88ed1cf954b
--- /dev/null
+++ b/devel/pwlib/patches/patch-av
@@ -0,0 +1,13 @@
+$NetBSD: patch-av,v 1.1 2006/01/08 04:57:55 joerg Exp $
+
+--- src/ptlib/unix/switch.cxx.orig 2006-01-08 03:21:07.000000000 +0000
++++ src/ptlib/unix/switch.cxx
+@@ -89,7 +89,7 @@
+ #endif
+ #endif
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_DRAGONFLY)
+ #define SET_STACK context[0]._jb[2] = (int)stackTop-16;
+ #if defined(P_NETBSD)
+ #include <sys/mman.h>