Date: Wed, 2 Oct 2019 15:29:58 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513583 - head/editors/hte/files Message-ID: <201910021529.x92FTw4I020312@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Wed Oct 2 15:29:58 2019 New Revision: 513583 URL: https://svnweb.freebsd.org/changeset/ports/513583 Log: editors/the: fix build against the clang900-import branch by handholding the compiler. PR: 240766 Submitted by: jbeich MFH: 2019Q4 Added: head/editors/hte/files/ head/editors/hte/files/patch-htneent.cc (contents, props changed) Added: head/editors/hte/files/patch-htneent.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/hte/files/patch-htneent.cc Wed Oct 2 15:29:58 2019 (r513583) @@ -0,0 +1,11 @@ +--- htneent.cc.orig 2016-12-06 20:36:25 UTC ++++ htneent.cc +@@ -57,7 +57,7 @@ static ht_view *htneentrypoints_init(Bounds *b, File * + NE_ENTRYPOINT_HEADER e; + + uint32 index = 1; +- while (o + sizeof e < h+ne_shared->hdr.enttab+ne_shared->hdr.cbenttab) { ++ while ((o + sizeof e) < h+ne_shared->hdr.enttab+ne_shared->hdr.cbenttab) { + file->seek(o); + file->read(&e, sizeof e); + createHostStruct(&e, NE_ENTRYPOINT_HEADER_struct, little_endian);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910021529.x92FTw4I020312>