summaryrefslogtreecommitdiff
path: root/devel/pwlib/patches
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2000-08-28 22:29:34 +0000
committermjl <mjl@pkgsrc.org>2000-08-28 22:29:34 +0000
commit3bfbf03c62c88727e3fab0affae2e75b49db5e3c (patch)
tree09f951ab8e593e12499f9946cef2ec2c79c3fc27 /devel/pwlib/patches
parenta7ca4bf09777d5a714eb490b7204be40ceb24494 (diff)
downloadpkgsrc-3bfbf03c62c88727e3fab0affae2e75b49db5e3c.tar.gz
Make it work a bit better by enabling the same conditionals as for
the other *BSD. Still has some problems.
Diffstat (limited to 'devel/pwlib/patches')
-rw-r--r--devel/pwlib/patches/patch-ag13
-rw-r--r--devel/pwlib/patches/patch-ah16
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/pwlib/patches/patch-ag b/devel/pwlib/patches/patch-ag
new file mode 100644
index 00000000000..3dfd2f0418f
--- /dev/null
+++ b/devel/pwlib/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2000/08/28 22:29:34 mjl Exp $
+
+--- src/ptlib/unix/oss.cxx.orig Mon Aug 28 23:30:16 2000
++++ src/ptlib/unix/oss.cxx Mon Aug 28 23:30:52 2000
+@@ -287,7 +287,7 @@
+
+ PString PSoundChannel::GetDefaultDevice(Directions /*dir*/)
+ {
+- return "/dev/dsp";
++ return "/dev/audio";
+ }
+
+
diff --git a/devel/pwlib/patches/patch-ah b/devel/pwlib/patches/patch-ah
new file mode 100644
index 00000000000..ad9a7385226
--- /dev/null
+++ b/devel/pwlib/patches/patch-ah
@@ -0,0 +1,16 @@
+$NetBSD: patch-ah,v 1.1 2000/08/28 22:29:35 mjl Exp $
+
+--- src/ptlib/unix/switch.cxx.orig Mon Aug 28 23:27:44 2000
++++ src/ptlib/unix/switch.cxx Mon Aug 28 23:29:00 2000
+@@ -79,8 +79,10 @@
+ #endif
+ #endif
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD)
+ #define SET_STACK context[0]._jb[2] = (int)stackTop-16;
++#include <sys/mman.h>
++#define USE_MMAP MAP_ANON | MAP_PRIVATE
+ #endif
+
+ #ifdef __BEOS__