diff --git a/srcpkgs/vdrift/patches/fix-gcc6.patch b/srcpkgs/vdrift/patches/fix-gcc6.patch new file mode 100644 index 00000000000..a401ccfb641 --- /dev/null +++ b/srcpkgs/vdrift/patches/fix-gcc6.patch @@ -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; + } +