From: Fredrik Fornwall Date: Mon, 5 Sep 2016 22:08:44 +0000 (-0400) Subject: timewarrior: Add std::strtoimax patch X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/97777c445bc9207d89ca83afc755a8a22c6dcdde?ds=sidebyside;hp=e4e0a8b221a093afd05a8fb38d0e866fa704e5bf timewarrior: Add std::strtoimax patch --- diff --git a/packages/timewarrior/src-libshared-src-Pig.cpp.patch b/packages/timewarrior/src-libshared-src-Pig.cpp.patch new file mode 100644 index 00000000..6469047f --- /dev/null +++ b/packages/timewarrior/src-libshared-src-Pig.cpp.patch @@ -0,0 +1,12 @@ +diff -u -r ../timew-1.0.0/src/libshared/src/Pig.cpp ./src/libshared/src/Pig.cpp +--- ../timew-1.0.0/src/libshared/src/Pig.cpp 2016-08-17 17:22:34.000000000 -0400 ++++ ./src/libshared/src/Pig.cpp 2016-09-05 17:58:52.282716956 -0400 +@@ -251,7 +251,7 @@ + + if (_cursor > save) + { +- result = std::strtoimax (_text.substr (save, _cursor - save).c_str (), NULL, 10); ++ result = strtoimax (_text.substr (save, _cursor - save).c_str (), NULL, 10); + return true; + } +