diff options
author | Diane Bruce <db@FreeBSD.org> | 2013-11-05 23:28:09 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2013-11-05 23:28:09 +0000 |
commit | b9c7e063d693d76fb007fc3fcd76ebb439fa5750 (patch) | |
tree | 4694a629e7442c635b38eb67a0f93a05423e37d4 /audio/xoscope/files | |
parent | ef25aae5a45dfbca85ad2d5444b455727bbf36b4 (diff) |
Notes
Diffstat (limited to 'audio/xoscope/files')
-rw-r--r-- | audio/xoscope/files/patch-ser_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/xoscope/files/patch-ser_unix.c b/audio/xoscope/files/patch-ser_unix.c index 90609fa51f31..24ef4dba3492 100644 --- a/audio/xoscope/files/patch-ser_unix.c +++ b/audio/xoscope/files/patch-ser_unix.c @@ -1,5 +1,5 @@ --- ser_unix.c.orig 2008-12-17 12:46:15.000000000 -0500 -+++ ser_unix.c 2012-11-04 09:22:00.000000000 -0500 ++++ ser_unix.c 2013-11-05 18:03:15.000000000 -0500 @@ -14,7 +14,14 @@ #include <errno.h> #include <unistd.h> @@ -32,7 +32,7 @@ { if (fd > 0) { +#ifdef BSD -+ if (tcgetattr(fd, &svbuf) < 0 ) { ++ if (tcsetattr(fd, TCSANOW, &svbuf) < 0 ) { +#else if (ioctl(fd, TCSETA, &svbuf) < 0) { +#endif |