From da3b59f064c1cc4b1102615f1a976f442029230a Mon Sep 17 00:00:00 2001 From: mjl Date: Mon, 28 Aug 2000 22:29:34 +0000 Subject: Make it work a bit better by enabling the same conditionals as for the other *BSD. Still has some problems. --- devel/pwlib/files/patch-sum | 4 +++- devel/pwlib/patches/patch-ag | 13 +++++++++++++ devel/pwlib/patches/patch-ah | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 devel/pwlib/patches/patch-ag create mode 100644 devel/pwlib/patches/patch-ah (limited to 'devel') diff --git a/devel/pwlib/files/patch-sum b/devel/pwlib/files/patch-sum index e13ff231052..dc84680ed46 100644 --- a/devel/pwlib/files/patch-sum +++ b/devel/pwlib/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/08/25 16:03:42 mjl Exp $ +$NetBSD: patch-sum,v 1.2 2000/08/28 22:29:34 mjl Exp $ MD5 (patch-aa) = d03e041c0a8a3e8dc33ef93f29d56354 MD5 (patch-ab) = cf3b873bee3676e975d4605f7d2c6a9f @@ -6,3 +6,5 @@ MD5 (patch-ac) = f3b5ecbf024aa01f76d37ef9f6233102 MD5 (patch-ad) = fe6ad704d70a477532e685e653d9a8e2 MD5 (patch-ae) = 8e35918b6974ef55079c0407677362ec MD5 (patch-af) = 70eab357bd9f2a17f6f02c84ec4ad9e0 +MD5 (patch-ag) = 0570eb9a0b4e4d02699347a89e1da61d +MD5 (patch-ah) = 2fd7e5d4d1d7d4acf55a9b2631bb74eb 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 ++#define USE_MMAP MAP_ANON | MAP_PRIVATE + #endif + + #ifdef __BEOS__ -- cgit v1.2.3