Bug 119100 - [Patch] lang/logo: switch from sgtty to termios
Summary: [Patch] lang/logo: switch from sgtty to termios
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 13:50 UTC by Ed Schouten
Modified: 2008-01-03 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.66 KB, patch)
2007-12-28 13:50 UTC, Ed Schouten
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Schouten 2007-12-28 13:50:00 UTC
The lang/logo port makes use of the sgtty interface. We'd better let it
use the termios interface, because the first one will not work on
systems where COMPAT_43TTY is not present in the kernel. Because ucblogo
also has termio code, it isn't hard to port it to termios.

Fix: The following patch extends the existing patch to term.c to use the
existing termio code, ported to termios.

Please notice that even though the port will now use termios, it will
still give warnings during compilation about sgtty. Those warnings don't
matter, because they include sgtty.h in almost every file, only if it
exists (autoconf).
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-12-28 14:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-01-03 21:03:55 UTC
miwi        2008-01-03 21:03:46 UTC

  FreeBSD ports repository

  Modified files:
    lang/logo            Makefile 
    lang/logo/files      patch-term.c 
  Log:
  - Use termios instead of sgtty
  
  PR:             119100
  Submitted by:   Ed Schouten <ed@fxq.nl>
  
  Revision  Changes    Path
  1.41      +2 -2      ports/lang/logo/Makefile
  1.2       +55 -0     ports/lang/logo/files/patch-term.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-01-03 21:05:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!