Date: Tue, 5 Dec 2017 19:15:29 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: Jan Beich <jbeich@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r455587 - in head/devel/msp430-debug-stack: . files Message-ID: <8af64b17-cb6b-001c-a113-a5fe3f3b11fc@FreeBSD.org> In-Reply-To: <zi6x-cg6d-wny@FreeBSD.org> References: <201712051557.vB5FvQUH076158@repo.freebsd.org> <zi6x-cg6d-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05.12.2017 19:06, Jan Beich wrote: I stop to understand how does "update-patches" work. Also, don't do anything in last daty before month-long AFK vacations :-) Thank you! > "Lev A. Serebryakov" <lev@FreeBSD.org> writes: > >> Modified: head/devel/msp430-debug-stack/files/patch-DLL430__v3_src_TI_DLL430_UsbCdcIoChannel.cpp >> ============================================================================== >> --- head/devel/msp430-debug-stack/files/patch-DLL430__v3_src_TI_DLL430_UsbCdcIoChannel.cpp Tue Dec 5 15:56:04 2017 (r455586) >> +++ head/devel/msp430-debug-stack/files/patch-DLL430__v3_src_TI_DLL430_UsbCdcIoChannel.cpp Tue Dec 5 15:57:25 2017 (r455587) >> @@ -1,33 +1,20 @@ >> ---- DLL430_v3/src/TI/DLL430/UsbCdcIoChannel.cpp.orig 2016-05-02 09:51:53.763023000 +0200 >> -+++ DLL430_v3/src/TI/DLL430/UsbCdcIoChannel.cpp 2016-05-02 09:53:56.332580000 +0200 >> -@@ -303,6 +303,22 @@ >> - } >> - #else >> - stringstream cdcIdStream; >> -+ >> -+#ifdef __FreeBSD__ >> -+ >> -+ path p( "/dev" ); >> -+ if( exists(p) && is_directory(p) ) { >> -+ >> -+ cdcIdStream << hex << setfill('0') << "mspfet" << setw(4) << productId; >> -+ >> -+ const directory_iterator end; >> -+ for( directory_iterator it(p); it != end; ++it ) { >> -+ >> -+ string dir = it->path().string(); >> -+ if( dir.find( cdcIdStream.str() ) != string::npos ) { >> -+ { >> -+ >> -+#else >> - cdcIdStream << hex << setfill('0') << "usb:v" << setw(4) << vendorId << "p" << setw(4) << productId; > > I think, you've accidentally removed existing patch against this file. > -- // Lev Serebryakov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8af64b17-cb6b-001c-a113-a5fe3f3b11fc>