Bug 152883 - comms/rxtx incorrect patch for patch-RXTXCommDriver.java
Summary: comms/rxtx incorrect patch for patch-RXTXCommDriver.java
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-07 06:20 UTC by Bob Frazier
Modified: 2011-01-03 18:50 UTC (History)
0 users

See Also:


Attachments
file.diff (739 bytes, patch)
2010-12-07 06:20 UTC, Bob Frazier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.