View | Details | Raw Unified | Return to bug 236812
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	tesseract
4
PORTNAME=	tesseract
5
PORTVERSION=	3.05.02
5
PORTVERSION=	3.05.02
6
PORTREVISION=	4
6
PORTREVISION=	5
7
CATEGORIES=	graphics
7
CATEGORIES=	graphics
8
8
9
MAINTAINER=	pkubaj@anongoth.pl
9
MAINTAINER=	pkubaj@anongoth.pl
(-)files/patch-configure.ac (+12 lines)
Line 0 Link Here
1
sem_init(3) is part of libc on FreeBSD, so we ended up not linking against
2
libpthread. Look for a symbol that causes us to load it.
3
--- configure.ac.orig	2019-03-26 21:58:42 UTC
4
+++ configure.ac
5
@@ -375,6 +375,7 @@ CXXFLAGS="$OLD_CXXFLAGS"
6
 # ----------------------------------------
7
 
8
 AC_SEARCH_LIBS([sem_init], [pthread rt])
9
+AC_SEARCH_LIBS([pthread_create], [pthread])
10
 
11
 
12
 # ----------------------------------------

Return to bug 236812