Skip to content

Instantly share code, notes, and snippets.

@berkus
Created September 16, 2013 14:24
Show Gist options
  • Save berkus/6581383 to your computer and use it in GitHub Desktop.
Save berkus/6581383 to your computer and use it in GitHub Desktop.
brew ninja 1.3.4 patch on OSX Mavericks
--- ninja-1.3.4/src/manifest_parser.cc.orig 2013-09-16 17:23:25.000000000 +0300
+++ ninja-1.3.4/src/manifest_parser.cc 2013-09-16 17:23:31.000000000 +0300
@@ -121,7 +121,7 @@
if (key == "depth") {
string depth_string = value.Evaluate(env_);
- depth = atol(depth_string.c_str());
+ depth = stol(depth_string.c_str());
if (depth < 0)
return lexer_.Error("invalid pool depth", err);
} else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment