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

12 lines
356 B
Diff

--- src/graphics/model_obj.cpp
+++ 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;
}