Group :: Development/Tcl
RPM: tcl-dp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: tcl-dp-4.0b2-alt1-fix-serial-module.patch
Download
Download
diff --git a/unix/dpSerial.c b/unix/dpSerial.c
index d1c34c7..0f7c6a6 100755
--- a/unix/dpSerial.c
+++ b/unix/dpSerial.c
@@ -51,6 +51,15 @@ static char *portNames[NUM_PORTS] = {
NULL,
NULL,
NULL
+#elif defined(__osf__)
+ /*
+ * For OSF
+ */
+
+ "/dev/tty00",
+ "/dev/tty01",
+ NULL,
+ NULL
#else
/*
* We could assume the worst and just not let
@@ -540,8 +549,8 @@ DppSerialGetOption(instanceData, opt, optionName, dsPtr)
} else {
ospeed = term.c_cflag & CBAUD;
}
-#elif defined(__FREEBSD__)
- ospeed = term.c_ospeed;
+#elif defined(__FREEBSD__)||defined(__osf__)
+ ospeed = term.c_ospeed;
#else
ospeed = term.c_cflag & CBAUD;
#endif