Bug 152883

Summary: comms/rxtx incorrect patch for patch-RXTXCommDriver.java
Product: Ports & Packages Reporter: Bob Frazier <bobf>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Bob Frazier 2010-12-07 06:20:07 UTC
current FreeBSD patch for rxtx causes duplication of comm devices /dev/ttyD* in the list of available devices, and incorrectly excludes /dev/ttyU* devices.  The exsting patch file patch-RXTXCommDriver.java apparently has a typographical error.  The attached 'diff' output indicates the correction to the patch file.

Fix: see attached 'diff' file indicating how the patch file needs to be modified

Patch attached with submission follows:
How-To-Repeat: install comms/rxtx, use a java application (such as devel/arduino) to enumerate available comm ports using the rxtx library, and note the following:
a) absence of /dev/ttyU* com ports
b) doubling of /dev/ttyD* com ports

on a related note, attempting to select one of the 'doubled' ports in devel/arduino causes both of the duplicate entries to be 'checked' in the menu, and then causes a lock violation when you attempt to do I/O.
Comment 1 dfilter service freebsd_committer freebsd_triage 2011-01-03 18:41:28 UTC
steve       2011-01-03 18:41:20 UTC

  FreeBSD ports repository

  Modified files:
    comms/rxtx           Makefile 
    comms/rxtx/files     patch-RXTXCommDriver.java 
  Log:
  Change the device name for USB serial ports from ttyD to ttyU.
  
  PR:             ports/152883
  Submitted by:   Bob Frazier <bobf@mrp3.com>
  
  Revision  Changes    Path
  1.21      +1 -1      ports/comms/rxtx/Makefile
  1.3       +1 -1      ports/comms/rxtx/files/patch-RXTXCommDriver.java
_______________________________________________
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 2 Steve Price freebsd_committer freebsd_triage 2011-01-03 18:42:14 UTC
State Changed
From-To: open->closed

Patch committed, thanks.