aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-10-14 15:07:25 +0800
committervs <vs@FreeBSD.org>2004-10-14 15:07:25 +0800
commit12680a5e268a7ba26b9dad92efbf63f1e1162653 (patch)
tree0bc1554ac257f7a090d27ca15b6eb1322eefc308
parent9de26f7d7ad6f272a489db1607fd8ec40589b708 (diff)
downloadfreebsd-ports-gnome-12680a5e268a7ba26b9dad92efbf63f1e1162653.tar.gz
freebsd-ports-gnome-12680a5e268a7ba26b9dad92efbf63f1e1162653.tar.zst
freebsd-ports-gnome-12680a5e268a7ba26b9dad92efbf63f1e1162653.zip
Unbreak on 4.x
Submitted by: des Approved by: maintainer
-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);
/*