mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
editors/the: fix build against the clang900-import branch by handholding the compiler.
PR: 240766 Submitted by: jbeich MFH: 2019Q4
This commit is contained in:
parent
daf234f2eb
commit
fb29146174
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513583
11
editors/hte/files/patch-htneent.cc
Normal file
11
editors/hte/files/patch-htneent.cc
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user