Bug 110439 - [cad/spice] Use termios.h
Summary: [cad/spice] Use termios.h
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-03-17 11:30 UTC by Ed Schouten
Modified: 2007-03-21 12:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.55 KB, patch)
2007-03-17 11: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 2007-03-17 11:30:00 UTC
The cad/spice port is one of the ports that uses <sgtty.h> while it
could perfectly use <termios.h>. When we use <termios.h>, compilation
fails, because of some termio leftovers.

Fix: This patch changes os_bsd.h to use termios on FreeBSD. It also changes
the sourcecode to use tcgetattr/tcsetattr instead of ioctl's.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-03-18 08:46:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2007-03-21 12:32:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-03-21 12:33:18 UTC
miwi        2007-03-21 12:32:53 UTC

  FreeBSD ports repository

  Modified files:
    cad/spice/files      patch-src_include_os_bsd_h 
  Added files:
    cad/spice/files      patch-src_lib_cp_complete.c 
  Log:
  - Use termios.h
  
  PR:             110439
  Submitted by:   Ed Schouten <ed@fxq.nl>
  
  Revision  Changes    Path
  1.3       +5 -1      ports/cad/spice/files/patch-src_include_os_bsd_h
  1.1       +20 -0     ports/cad/spice/files/patch-src_lib_cp_complete.c (new)
_______________________________________________
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"