termux-packages/packages/tasksh/src-libshared-src-Pig.cpp.patch

13 lines
475 B
Diff
Raw Normal View History

2016-09-05 23:34:10 +02:00
diff -u -r ../tasksh-1.1.0/src/libshared/src/Pig.cpp ./src/libshared/src/Pig.cpp
--- ../tasksh-1.1.0/src/libshared/src/Pig.cpp 2016-09-05 15:12:13.000000000 -0400
+++ ./src/libshared/src/Pig.cpp 2016-09-05 17:18:24.766859290 -0400
@@ -252,7 +252,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;
}