From 785c8eaccca5064a358f8fa510266856049031c0 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Tue, 31 Mar 2015 14:43:55 +0300 Subject: Backport 16aa99315a3d - make ocrclass.h public header diff --git a/ccutil/Makefile.am b/ccutil/Makefile.am index 5c08f6b..8737dda 100644 --- a/ccutil/Makefile.am +++ b/ccutil/Makefile.am @@ -14,13 +14,13 @@ EXTRA_DIST = mfcpch.cpp include_HEADERS = \ basedir.h errcode.h fileerr.h genericvector.h helpers.h host.h memry.h \ - ndminx.h params.h platform.h serialis.h strngs.h tesscallback.h \ - unichar.h unicharmap.h unicharset.h + ndminx.h params.h ocrclass.h platform.h serialis.h strngs.h \ + tesscallback.h unichar.h unicharmap.h unicharset.h noinst_HEADERS = \ ambigs.h bits16.h bitvector.h ccutil.h clst.h elst2.h \ elst.h globaloc.h hashfn.h hosthplb.h indexmapbidi.h lsterr.h \ - mfcpch.h notdll.h nwmain.h ocrclass.h qrsequence.h secname.h \ + mfcpch.h notdll.h nwmain.h qrsequence.h secname.h \ sorthelper.h stderr.h tessdatamanager.h tprintf.h unicity_table.h \ unicodes.h @@ -51,4 +51,4 @@ if MINGW AM_CPPFLAGS += -I$(top_srcdir)/vs2008/port -DWINDLLNAME=\"lib@GENERIC_LIBRARY_NAME@\" noinst_HEADERS += ../vs2008/port/strtok_r.h libtesseract_ccutil_la_SOURCES += ../vs2008/port/strtok_r.cpp -endif \ No newline at end of file +endif -- 2.12.2 From aa028a41dc6503154b65a115ccc9864f323ca20c Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 21 Jan 2017 14:05:21 +0100 Subject: fix missing declaration for fd_set,FD_SET,FD_ZERO,select. diff --git a/viewer/svutil.cpp b/viewer/svutil.cpp index bef51b1..20b1d6b 100644 --- a/viewer/svutil.cpp +++ b/viewer/svutil.cpp @@ -38,6 +38,7 @@ struct addrinfo { #include #include #include +#include #include #ifdef __linux__ #include -- 2.12.2 From b8e745f1de322b7fe7e60aa43e9ec2a81ef560d7 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Wed, 5 Jul 2017 17:10:00 +0000 Subject: tesseract: fix symbol 'connect' not found when loading libtesseract.so diff --git a/configure.ac b/configure.ac index a64e167..12fc8fd 100644 --- a/configure.ac +++ b/configure.ac @@ -199,6 +199,9 @@ case "$host" in LDFLAGS="$LDFLAGS -L/sw/lib" fi ;; + *-haiku*) + LDFLAGS="$LDFLAGS -lnetwork" + ;; esac # ---------------------------------------- -- 2.12.2