termux-packages/packages/openfoam/src-OpenFOAM-db-IOstreams-IOstreams-Istream.C.patch
Henrik Grimler 1ba4e7d5f1 openfoam: update to 21.12
Package needs to be rebuilt for new boost version, so take the
opportunity to update to latest release at the same time.
2022-02-09 09:33:25 +01:00

21 lines
925 B
Diff

--- ./src/OpenFOAM/db/IOstreams/IOstreams/Istream.C.orig 2022-02-08 17:25:26.649794083 +0100
+++ ./src/OpenFOAM/db/IOstreams/IOstreams/Istream.C 2022-02-08 17:28:57.869549414 +0100
@@ -137,7 +137,7 @@
<< "Expected a '" << token::END_LIST
<< "' while reading " << funcName
<< ", found " << delimiter.info()
- << " at stream position " << stream_tellg(this) << nl
+ << " at stream position " << static_cast<uint64_t>(stream_tellg(this)) << nl
<< exit(FatalIOError);
}
@@ -178,7 +178,7 @@
<< "' or a '" << token::END_BLOCK
<< "' while reading " << funcName
<< ", found " << delimiter.info()
- << " at stream position " << stream_tellg(this) << nl
+ << " at stream position " << static_cast<uint64_t>(stream_tellg(this)) << nl
<< exit(FatalIOError);
return '\0';