Created attachment 237814 [details] v1 (apply via "git am") Upstream rewrote in Rust using cargo-c to export C API. See audio/lewton for a simple example of using cargo-c in ports/. ABI is compatible: no need to bump PORTREVISION in consumers. For example, games/tuxpaint built against older libimagequant still works fine.
Approved. Thank you ! Please feel free to take maintainership of it, since I know little about rust. wen
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a5b2121a0ad6200c59901eff74646bba5015bad commit 6a5b2121a0ad6200c59901eff74646bba5015bad Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-08-25 01:40:27 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-11-02 13:58:14 +0000 graphics/libimagequant: update to 4.0.4 - Adjust license for "or later" clause - Point to homepage suggested upstream - Drop superfluous newlines - Take maintainership Changes: https://github.com/ImageOptim/libimagequant/compare/2.17.0...4.0.4 PR: 267520 Approved by: wen (maintainer) graphics/libimagequant/Makefile | 37 ++++++++++---- graphics/libimagequant/Makefile.crates (new) | 34 +++++++++++++ graphics/libimagequant/distinfo | 74 ++++++++++++++++++++++++++-- 3 files changed, 132 insertions(+), 13 deletions(-)