diff --git a/games/xye/files/patch-src_xye__script.cpp b/games/xye/files/patch-src_xye__script.cpp new file mode 100644 index 000000000000..b95da5057445 --- /dev/null +++ b/games/xye/files/patch-src_xye__script.cpp @@ -0,0 +1,16 @@ +- fix compilation: +- error: reference to 'lock' is ambiguous +- note: candidate found by name lookup is 'lock' +- note: candidate found by name lookup is 'std::lock' + +--- src/xye_script.cpp.orig 2012-09-15 20:21:06 UTC ++++ src/xye_script.cpp +@@ -859,7 +859,7 @@ void Load_Lock(TiXmlElement* el) + el->QueryIntAttribute("x",&LastX); + el->QueryIntAttribute("y",&LastY); + blockcolor c=GetElementBlockColor(el); +- lock* bc=new lock(game::SquareN(LastX,LastY),c); ++ ::lock* bc=new ::lock(game::SquareN(LastX,LastY),c); + } + + /* Load Key*/