svn commit: r542078 - in head/devel/libftdi1: . files

Boris Samorodov bsam at passap.ru
Tue Jul 21 22:10:21 UTC 2020


Hi Emmanuel,

I've just fixed the port by incorporation an upstream
fix. Thank you.

14.07.2020 11:13, Emmanuel Vadot пишет:
> On Sun, 12 Jul 2020 13:02:20 +0000 (UTC)
> 
>   Hi Boris,
> 
> Boris Samorodov <bsam at FreeBSD.org> wrote:
> 
>> Author: bsam
>> Date: Sun Jul 12 13:02:20 2020
>> New Revision: 542078
>> URL: https://svnweb.freebsd.org/changeset/ports/542078
>>
>> Log:
>>    devel/libftdi1: Update to version 1.5 and:
>>    
>>    - mark dual licensed;
>>    - regenerate patches;
>>    - pet portlint (shuffle some Makefile lines).
>>    
>>    New in 1.5 - 2020-07-07
>>    -----------------------
>>    * Implement tc[io]flush methods & deprecate broken purge_buffers methods
>>    
>>      Please check your code for ftdi_usb_purge_rx_buffer(),
>>      ftdi_usb_purge_tx_buffer() and ftdi_usb_purge_buffers()
>>      and migrate to the new ftdi_tc[io]flush() methods.
>>    
>>      Old code will continue to function, but you'll get
>>      a deprecation warning during compilation.
>>    
>>    * Add program to test buffer flush (purge) functionality
>>    * Add kernel driver auto attach/detach.
>>      See new AUTO_DETACH_REATACH_SIO_MODULE option
>>    * Add ftdi_setflowctrl_xonxoff()
>>    * ftdi_eeprom / eeprom handling:
>>      * Unify handling of all boolean eeprom flags
>>      * Add device release number support
>>      * Add channel_a_driver support for type xxR chips
>>      * Add support for group0 drive levels on x232H chips
>>      * Fix handling of high_current_drive parameter
>>      * Fix inverted handling of VCP driver field for TYPE_R chips
>>      * New --verbose option for eeprom decode operation
>>    * Add example code for async mode
>>    * Add SPDX license identifiers to the core library & ftdi_eeprom
>>    * Various python SWIG wrapper improvements
>>    * Various cmake file improvements
>>    * Fix small bugs in error code paths
>>
>> Modified:
>>    head/devel/libftdi1/Makefile
>>    head/devel/libftdi1/distinfo
>>    head/devel/libftdi1/files/patch-CMakeLists.txt
>>    head/devel/libftdi1/files/patch-cmake__FindUSB1.cmake
>>    head/devel/libftdi1/files/patch-examples__CMakeLists.txt
>>    head/devel/libftdi1/files/patch-test_CMakeLists.txt
>>    head/devel/libftdi1/pkg-plist
>>
> 
>   After this update pkg-config gives the same include dir for libftdi1
> and libftdipp1.
> 
>   With 1.4_15 :
> 
> $ pkg-config --cflags
> libftdi1 -I/usr/local/include/libftdi1
> $ pkg-config --cflags
> libftdipp1 -I/usr/local/include/libftdi1
> $ ls /usr/local/include/libftdi1
> ftdi.h          ftdi.hpp
> 
>   With 1.5
> $ pkg-config --cflags libftdi1
> -I/usr/local/include/libftdipp1
> $ pkg-config --cflags libftdipp1
> -I/usr/local/include/libftdipp1
> $ ls /usr/local/include/libftdipp1/
> ftdi.hpp
> 
>   ftdi.h is still present in the same directory.
> 
>   Haven't looked at the cmake files.
> 

-- 
WBR, bsam


More information about the svn-ports-all mailing list