From b756c33367384c59141ba3d988253ec9abbf5598 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Thu, 14 Oct 2004 07:07:25 +0000 Subject: Unbreak on 4.x Submitted by: des Approved by: maintainer --- astro/gpsdrive/files/patch-src::gpsserial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'astro') 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); /* -- cgit v1.2.3