vdrift: fix gcc6 build
This commit is contained in:
parent
978243f4b8
commit
7895142ced
11
srcpkgs/vdrift/patches/fix-gcc6.patch
Normal file
11
srcpkgs/vdrift/patches/fix-gcc6.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user