cd1ee1d986
they are installed and should work without the pkgsrc framework to define e.g. LIBTOOL. Bump the revision for this. Fix the inclusion in Makefiles by crudely faking the installation directory layout. Remove some explicit casts which break with GCC 3.4 and OpenSSL 0.9.8, this might need to be conditionalized. Add DraogonFly support and somewhat cleanup the FreeBSD sound includes.
31 lines
1.5 KiB
Text
31 lines
1.5 KiB
Text
$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;
|