[Bug 262039] graphics/jasper: Update to 3.0.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Mar 2022 21:40:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262039

--- Comment #17 from Po-Chuan Hsieh <sunpoet@FreeBSD.org> ---
This is what I'm using for jasper 3.0.2 update [1].
I got the same 3 failed ports, netpbm, qt5-imageformats and xv.
And I can confirm that qt5-imageformats and xv are fixed now.

A dirty hack for netpbm is to add "typedef __max_align_t max_align_t;" to
converter/other/jpeg2000/jpeg2ktopam.c and
converter/other/jpeg2000/pamtojpeg2k.c.

[1] https://people.freebsd.org/~sunpoet/patch/graphics-jasper.txt

(In reply to Daniel Engberg from comment #8)

I'll update the patch to add the test part.

(In reply to Tatsuki Makino from comment #9)

In fact, jasper do include stddef.h.
jasper/jasper.h -> jasper/jas_types.h -> stddef.h (max_align_t) -> sys/_types.h
(__max_align_t)

-- 
You are receiving this mail because:
You are on the CC list for the bug.