Bug 120061 - [Patch] chinese/cxterm: use termios, not sgtty
Summary: [Patch] chinese/cxterm: use termios, not sgtty
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: 2008-01-27 21:30 UTC by Ed Schouten
Modified: 2008-02-12 23:30 UTC (History)
0 users

See Also:


Attachments
file.diff (5.45 KB, patch)
2008-01-27 21:30 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 2008-01-27 21:30:00 UTC
The chinese/cxterm port is one of the last ports that still needs
COMPAT_43TTY in the kernel to operate properly. We'd better use termios,
instead of sgtty, because that is more future-proof.

Fix: The following patch should port the application to termios. I tried it
on my box and the application still works, but I haven't performed a
lot of thorough testing with it. It is basically based on the patch I
wrote for hanterm.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-27 21:30:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-01-27 22:09:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 3 Sunry Chen 2008-02-03 05:23:13 UTC
I tested it in 6.2
Looks fine.

On Sun, 27 Jan 2008 21:30:06 UT, Edwin Groothuis <edwin@freebsd.org> wrote:
> Maintainer of chinese/cxterm,
>
> Please note that PR ports/120061 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120061
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2008-02-12 23:27:44 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2008-02-12 23:27:53 UTC
miwi        2008-02-12 23:27:45 UTC

  FreeBSD ports repository

  Modified files:
    chinese/cxterm/files patch-main.c patch-utils_hzimctrl.c 
  Log:
  -Use termios, not sgtty
  
  PR:             120061
  Submitted by:   Ed Schouten <ed@fxq.nl>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.2       +93 -5     ports/chinese/cxterm/files/patch-main.c
  1.2       +73 -2     ports/chinese/cxterm/files/patch-utils_hzimctrl.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"