diff options
author | vs <vs@FreeBSD.org> | 2004-10-14 07:07:25 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-10-14 07:07:25 +0000 |
commit | 12680a5e268a7ba26b9dad92efbf63f1e1162653 (patch) | |
tree | 0bc1554ac257f7a090d27ca15b6eb1322eefc308 /astro/gpsdrive | |
parent | 9de26f7d7ad6f272a489db1607fd8ec40589b708 (diff) | |
download | FreeBSD-ports-12680a5e268a7ba26b9dad92efbf63f1e1162653.zip FreeBSD-ports-12680a5e268a7ba26b9dad92efbf63f1e1162653.tar.gz |
Unbreak on 4.x
Submitted by: des
Approved by: maintainer
Diffstat (limited to 'astro/gpsdrive')
-rw-r--r-- | astro/gpsdrive/files/patch-src::gpsserial.c | 4 |
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 b6dc660..531570d 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); /* |