Created attachment 240846 [details] Patch for unpaper - Fixes compilation with FFmpeg 6.0 Compile tested on FreeBSD 13.2-BETA1 (amd64) Poudriere testport OK 12.3-RELEASE (amd64)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e7e52e029c8f5ffc38448ae46bc804a16fe6906 commit 1e7e52e029c8f5ffc38448ae46bc804a16fe6906 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-03-17 06:30:20 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-03-17 06:30:20 +0000 graphics/unpaper: Update to 7.0.0 Changelog: * Tests now compare a golden file by counting the bytes that differ between it and the result. This allows non-byte-perfect calculations to be executed and still not fail the tests. This is required as fused multiply-add instructions can increase precision and thus deviate from the base C code, when using floating-point arithmetic. * Build is now provided by Meson, replacing the Autotools based build system introduced in 0.4, 10½ years ago. * Compatibility expanded to ffmpeg-5 (and newer versions), which is the current widely available release. https://github.com/unpaper/unpaper/releases/tag/unpaper-7.0.0 PR: 270218 graphics/unpaper/Makefile | 15 +++++++-------- graphics/unpaper/distinfo | 6 +++--- graphics/unpaper/files/patch-file.c (gone) | 30 ------------------------------ 3 files changed, 10 insertions(+), 41 deletions(-)
(In reply to Daniel Engberg from comment #0) Committed, thank you for the patch!