summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-10-14 07:07:25 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-10-14 07:07:25 +0000
commitb756c33367384c59141ba3d988253ec9abbf5598 (patch)
tree20838675e04095835ef9fbbe690524d269a1fbe4
parentUpgrade to 2.1.2. (diff)
Unbreak on 4.x
Submitted by: des Approved by: maintainer
Notes
Notes: svn path=/head/; revision=119369
-rw-r--r--astro/gpsdrive/files/patch-src::gpsserial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/astro/gpsdrive/files/patch-src::gpsserial.c b/astro/gpsdrive/files/patch-src::gpsserial.c
index b6dc660603d8..531570d64224 100644
--- a/astro/gpsdrive/files/patch-src::gpsserial.c
+++ b/astro/gpsdrive/files/patch-src::gpsserial.c
@@ -5,8 +5,8 @@
CREAD : enable receiving characters
*/
- newtio.c_cflag = (11 + serialspeed) | CS8 | CLOCAL | CREAD;
-+ int t[] = { 2400, 4800, 9600, 19200, 38400 };
-+ newtio.c_ispeed = newtio.c_ospeed = t[serialspeed];
++ { int t[] = { 2400, 4800, 9600, 19200, 38400 };
++ newtio.c_ispeed = newtio.c_ospeed = t[serialspeed]; }
+ newtio.c_cflag = CS8 | CLOCAL | CREAD;
newtio.c_cflag &= ~(PARENB | CRTSCTS);
/*