summaryrefslogtreecommitdiff
path: root/devel/pwlib/patches/patch-au
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pwlib/patches/patch-au')
-rw-r--r--devel/pwlib/patches/patch-au31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/pwlib/patches/patch-au b/devel/pwlib/patches/patch-au
new file mode 100644
index 00000000000..464edef4281
--- /dev/null
+++ b/devel/pwlib/patches/patch-au
@@ -0,0 +1,31 @@
+$NetBSD: patch-au,v 1.1 2006/01/08 04:57:55 joerg Exp $
+
+--- src/ptlib/unix/serchan.cxx.orig 2006-01-08 03:19:59.000000000 +0000
++++ src/ptlib/unix/serchan.cxx
+@@ -112,7 +112,7 @@
+ #define TCSETATTR(f,t) tcsetattr(f,TCSANOW,t)
+ #define TCGETATTR(f,t) tcgetattr(f,t)
+
+-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_RTEMS)
++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_RTEMS) || defined(P_DRAGONFLY)
+ #include <sys/ttycom.h>
+ #define TCGETA TIOCGETA
+ #define TCSETAW TIOCSETAW
+@@ -166,7 +166,7 @@ void PSerialChannel::Construct()
+ Termio.c_iflag = IGNBRK | IGNPAR;
+ Termio.c_cflag = CS8 | CSTOPB | CREAD | CLOCAL;
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY)
+ Termio.c_ispeed = Termio.c_ospeed = B9600;
+ #else
+ Termio.c_cflag |= B9600;
+@@ -423,7 +423,7 @@ BOOL PSerialChannel::SetSpeed(DWORD newB
+ // save new baud rate
+ baudRate = newBaudRate;
+
+-#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS)
++#if defined(P_FREEBSD) || defined(P_OPENBSD) || defined (P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY)
+ // The BSD way
+ Termio.c_ispeed = baud;
+ Termio.c_ospeed = baud;