diff --git a/ogre/1.11/conandata.yml b/ogre/1.11/conandata.yml index 79a3702..e87cdd9 100644 --- a/ogre/1.11/conandata.yml +++ b/ogre/1.11/conandata.yml @@ -7,6 +7,7 @@ patches: - patch_file: "patches/1.11.6.1/CMakeLists.txt.patch" - patch_file: "patches/1.11.6.1/Samples-CMakeList.txt.patch" - patch_file: "patches/1.11.6.1/FixOverlayCMakeLists.txt.patch" + - patch_file: "patches/1.11.6.1/scriptlexer.patch" requirements: - "zlib/[1.x]" - "zziplib/[0.13.x]" diff --git a/ogre/1.11/patches/1.11.6.1/scriptlexer.patch b/ogre/1.11/patches/1.11.6.1/scriptlexer.patch new file mode 100644 index 0000000..b54cdb6 --- /dev/null +++ b/ogre/1.11/patches/1.11.6.1/scriptlexer.patch @@ -0,0 +1,11 @@ +--- OgreMain/src/OgreScriptLexer.cpp ++++ OgreMain/src/OgreScriptLexer.cpp +@@ -79,7 +79,7 @@ namespace Ogre { + error = StringUtil::format( + "no matching open bracket '{' found for close bracket '}' at %s:%d", source, + line); +- return tokens; ++ braceLayer = 1; + } + + braceLayer --;