diff --git a/app-text/tesseract/patches/tesseract-3.02.02.patchset b/app-text/tesseract/patches/tesseract-3.02.02.patchset index 2c9eaac14..4ae24b2b4 100644 --- a/app-text/tesseract/patches/tesseract-3.02.02.patchset +++ b/app-text/tesseract/patches/tesseract-3.02.02.patchset @@ -1,7 +1,7 @@ -From 96fec6ffd95b10d352a8df7b57f3e8f36beb5320 Mon Sep 17 00:00:00 2001 +From 785c8eaccca5064a358f8fa510266856049031c0 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Tue, 31 Mar 2015 14:43:55 +0300 -Subject: [PATCH] Backport 16aa99315a3d - make ocrclass.h public header +Subject: Backport 16aa99315a3d - make ocrclass.h public header diff --git a/ccutil/Makefile.am b/ccutil/Makefile.am @@ -33,10 +33,10 @@ index 5c08f6b..8737dda 100644 \ No newline at end of file +endif -- -2.10.2 +2.12.2 -From b71ceaebdb44e530bce9c3400ab3d08c51202399 Mon Sep 17 00:00:00 2001 +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. @@ -55,5 +55,30 @@ index bef51b1..20b1d6b 100644 #ifdef __linux__ #include -- -2.10.2 +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 diff --git a/app-text/tesseract/tesseract-3.02.02.recipe b/app-text/tesseract/tesseract-3.02.02.recipe index 67544b7da..d84588ebd 100644 --- a/app-text/tesseract/tesseract-3.02.02.recipe +++ b/app-text/tesseract/tesseract-3.02.02.recipe @@ -83,7 +83,7 @@ BUILD() export LIBLEPT_HEADERSDIR=$(finddir B_SYSTEM_HEADERS_DIRECTORY)${secondaryArchSubDir}/leptonica export TESSDATA_PREFIX=$dataDir/tessdata runConfigure configure - make + make $jobArgs } INSTALL()