Package: minicom
Severity: important
Version: 2.3~rc1-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It is due to usage of non-posix TCGETS.
Please use portable tcgetattr() instead.
It would also be nice if you can ask upstream
to include this changes.
Thanks in advance
Petr
--- src/main.c~ 2007-11-12 16:10:51.000000000 +0100
+++ src/main.c 2007-11-12 16:10:51.000000000 +0100
@@ -526,7 +526,7 @@
struct termios t;
if (portfd_is_socket && portfd_is_connected)
return 1;
- return !ioctl(fd, TCGETS, &t);
+ return !tcgetattr(fd, &t);
}
/* Update the timer display. This can also be called from updown.c */
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]