[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] cfmakeraw on solaris
From: |
Greg Troxel |
Subject: |
[gpsd-dev] cfmakeraw on solaris |
Date: |
Wed, 19 Jun 2019 20:29:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) |
I am not 100% clear on this, not having a solaris machine myself, but if
there are no solaris people here it seems better to apply this than not.
(stand by for second one) ok?
$NetBSD: patch-serial.c,v 1.2 2019/05/01 20:22:02 gdt Exp $
Need cfmakeraw on SunOS.
--- serial.c.orig 2018-09-22 23:24:39.000000000 +0000
+++ serial.c
@@ -173,7 +173,7 @@ void gpsd_tty_init(struct gps_device_t *
session->reawake = (time_t)0;
}
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) || defined(__sun)
/* Workaround for Cygwin, which is missing cfmakeraw */
/* Pasted from man page; added in serial.c arbitrarily */
void cfmakeraw(struct termios *termios_p)
- [gpsd-dev] cfmakeraw on solaris,
Greg Troxel <=