Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37848381
en ru br
Репозитории ALT

Группа :: Разработка/Tcl
Пакет: tcl-dp

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: tcl-dp-4.0b2-alt1-fix-serial-module.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin