Leonid Plyushch
6 years ago
3 changed files with 5 additions and 30 deletions
@ -1,15 +0,0 @@ |
|||
diff -u -r ../tesseract-4.0.0/src/api/baseapi.cpp ./src/api/baseapi.cpp
|
|||
--- ../tesseract-4.0.0/src/api/baseapi.cpp 2018-10-29 08:53:12.000000000 +0000
|
|||
+++ ./src/api/baseapi.cpp 2019-02-03 22:55:00.470748529 +0000
|
|||
@@ -206,11 +206,8 @@
|
|||
image_height_(0) { |
|||
const char *locale; |
|||
locale = std::setlocale(LC_ALL, nullptr); |
|||
- ASSERT_HOST(!strcmp(locale, "C"));
|
|||
locale = std::setlocale(LC_CTYPE, nullptr); |
|||
- ASSERT_HOST(!strcmp(locale, "C"));
|
|||
locale = std::setlocale(LC_NUMERIC, nullptr); |
|||
- ASSERT_HOST(!strcmp(locale, "C"));
|
|||
} |
|||
|
|||
TessBaseAPI::~TessBaseAPI() { |
@ -1,11 +0,0 @@ |
|||
diff -u -r ../tesseract-4.0.0/src/ccutil/Makefile.am ./src/ccutil/Makefile.am
|
|||
--- ../tesseract-4.0.0/src/ccutil/Makefile.am 2018-10-29 08:53:12.000000000 +0000
|
|||
+++ ./src/ccutil/Makefile.am 2019-02-03 22:45:27.364961733 +0000
|
|||
@@ -1,6 +1,7 @@
|
|||
SUBDIRS = |
|||
AM_CXXFLAGS = |
|||
AM_CPPFLAGS = |
|||
+AM_LDFLAGS = -landroid-glob
|
|||
|
|||
if !NO_TESSDATA_PREFIX |
|||
AM_CXXFLAGS += -DTESSDATA_PREFIX=@datadir@ |
Loading…
Reference in new issue