Details and my "workaround patch" are here: https://github.com/DanBloomberg/leptonica/issues/623 Patch from upstream is here: https://github.com/DanBloomberg/leptonica/pull/624 Can maintainer, please, check patch from upstream and add it to port or my workaround patch if upstream's patch is "bad". Thanks!
Created attachment 234747 [details] Support build with OpenJPEG 2.5 My workaround patch before upstream commit their version.
I explore a bit and it's look like hard work to separate required commits or backport patch - too much changes from last release in build subsystem. I tested git master - build without errors, but update port to git master isn't good choice, IMHO.
How to ask for maintainer timeout?
ping maintainer timeout?
Use upstream's fix instead? https://github.com/DanBloomberg/leptonica/commit/14902fefab1922a948c7055a155cccec25924b8a
(In reply to Daniel Engberg from comment #5) There is already another patch being pulled from GH. When the first one is applied, the second one fails to apply due to missmatched offsets.
(In reply to Daniel Engberg from comment #5) As I said in #2: > I explore a bit and it's look like hard work to separate required commits or > backport patch - too much changes from last release in build subsystem. I see 2 ways: 1. Update port to current commit in git master. 2. Get my hack-patch as basis (with or without changes).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd714f2f4e30a136df40f77eafd79448ca11c90a commit cd714f2f4e30a136df40f77eafd79448ca11c90a Author: VVD <vvd@unislabs.com> AuthorDate: 2022-07-18 08:54:30 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-07-18 15:23:17 +0000 graphics/leptonica: fix build with openjpeg 2.5.0 ChangeLog: https://github.com/DanBloomberg/leptonica/issues/623 Fix detection of openjpeg 2.5.0 PR: 264684 Reported by: vvd@unislabs.com Approved by: hiroto.kagotani@gmail.com (maintainer, timeout > 1 month) graphics/leptonica/files/patch-openjpeg-2.5 (new) | 59 +++++++++++++++++++++++ 1 file changed, 59 insertions(+)
Committed, Sorry for the delay. Thanks!