mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
tesseract: fix symbol 'connect' not found when loading libtesseract.so (#1494)
This commit is contained in:
@@ -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 <diver@gelios.net>
|
||||
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 <jerome.duval@gmail.com>
|
||||
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 <sys/prctl.h>
|
||||
--
|
||||
2.10.2
|
||||
2.12.2
|
||||
|
||||
|
||||
From b8e745f1de322b7fe7e60aa43e9ec2a81ef560d7 Mon Sep 17 00:00:00 2001
|
||||
From: Philippe Houdoin <philippe.houdoin@gmail.com>
|
||||
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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user