void-packages/srcpkgs/vdrift/patches/fix-gcc6.patch

12 lines
360 B
Diff

--- a/src/graphics/model_obj.cpp
+++ b/src/graphics/model_obj.cpp
@@ -221,7 +221,7 @@ bool ModelObj::Save(const std::string &
std::ofstream f(strFileName.c_str());
if (!f)
{
- error_output << "Error opening file for writing: " << error_output << endl;
+ error_output << "Error opening file for writing: " << strFileName << endl;
return false;
}