Fredrik Fornwall
6 years ago
4 changed files with 34 additions and 26 deletions
@ -1,11 +0,0 @@ |
|||
diff -u -r ../tesseract-3.05.01/api/Makefile.am ./api/Makefile.am
|
|||
--- ../tesseract-3.05.01/api/Makefile.am 2017-06-01 20:06:24.000000000 +0200
|
|||
+++ ./api/Makefile.am 2017-06-07 10:53:12.835866778 +0200
|
|||
@@ -77,6 +77,7 @@
|
|||
endif |
|||
|
|||
tesseract_LDADD = libtesseract.la |
|||
+tesseract_LDADD += $(LEPTONICA_LIBS)
|
|||
|
|||
|
|||
tesseract_LDFLAGS = $(OPENCL_LDFLAGS) |
@ -0,0 +1,15 @@ |
|||
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() { |
@ -0,0 +1,11 @@ |
|||
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