svn commit: r513583 - head/editors/hte/files
Rene Ladan
rene at FreeBSD.org
Wed Oct 2 15:29:59 UTC 2019
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);
More information about the svn-ports-head
mailing list