Date: Sat, 16 Sep 2017 21:30:32 +0000 (UTC) From: Ganael LAPLANCHE <martymac@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449975 - head/ftp/lftp/files Message-ID: <201709162130.v8GLUWAs071086@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: martymac Date: Sat Sep 16 21:30:32 2017 New Revision: 449975 URL: https://svnweb.freebsd.org/changeset/ports/449975 Log: Fix build on i386 and armv6 Reported by: George L. Yermulnik <yz@yz.kiev.ua> Added: head/ftp/lftp/files/patch-src-PollVec.cc (contents, props changed) Added: head/ftp/lftp/files/patch-src-PollVec.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/lftp/files/patch-src-PollVec.cc Sat Sep 16 21:30:32 2017 (r449975) @@ -0,0 +1,15 @@ +Fix build on i386 [1] + +[1] https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170911/539371.html + +--- ./src/PollVec.cc.orig 2017-09-16 22:29:12.266876000 +0200 ++++ ./src/PollVec.cc 2017-09-16 22:31:49.303761000 +0200 +@@ -30,7 +30,7 @@ + + void PollVec::AddTimeoutU(unsigned t) + { +- struct timeval new_timeout={t/1000000,t%1000000}; ++ struct timeval new_timeout={static_cast<time_t>(t/1000000),static_cast<suseconds_t>(t%1000000)}; + if(tv_timeout.tv_sec<0 || new_timeout<tv_timeout) + SetTimeout(new_timeout); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709162130.v8GLUWAs071086>