[Bug 266776] graphics/tesseract: Link with libomp.so to fix missing symbol error; Add compiler:c++20-lang

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Oct 2022 21:01:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266776

            Bug ID: 266776
           Summary: graphics/tesseract: Link with libomp.so to fix missing
                    symbol error; Add compiler:c++20-lang
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkubaj@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(pkubaj@FreeBSD.org)

Created attachment 237028
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237028&action=edit
patch

Currently libtesseract.so fails:
> ld-elf.so.1: /usr/local/lib/libtesseract.so: Undefined symbol "__kmpc_global_thread_num"

The attached patch solves this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.