HomeFreeBSD

graphics/tesseract: Fix build on armv6/armv7

Description

graphics/tesseract: Fix build on armv6/armv7

Tesseract requires the <asm/hwcap.h> header to detect the availability
of NEON instructions on armv7. This commit adds a patch to use the
appropriate FreeBSD interface for this purpose. This issue has already
been reported to up stream.

See also: https://github.com/tesseract-ocr/tesseract/pull/3782
See also: PR #263003

PR: 263004
Approved by: portmgr (build fix blanket)

(cherry picked from commit 31efc7fa161a0da4982f5a3bf687e6bee405395f)

Details

Provenance
fuzAuthored on Apr 2 2022, 1:54 PM
Mikael Urankar <mikael@FreeBSD.org>Committed on Apr 3 2022, 3:24 PM
Parents
R11:3ab0c8c9a420: print/ghostscript9-agpl-base: Fix build on armv7
Branches
Unknown
Tags
Unknown

Event Timeline