Created attachment 250817 [details] update to 4.8.0 May 2024 The 4.8.0 release is a minor maintenance release. Reminder - the codec library API is not designed to be binary compatible across versions. We always recommend rebuilding your client-side code using the updated astcenc.h header. General: * Bug fix: Native builds on macOS will now correctly build for arm64 when run outside of Rosetta on an Apple silicon device. * Bug fix: Multiple small improvements to remove use of undefined language behavior, to improve support for deployment using Emscripten. * Feature: Builds using Clang can now build with undefined behavior sanitizer by setting -DASTCENC_UBSAN=ON on the CMake configure line. * Feature: Updated to Wuffs library 0.3.4, which ignores tRNS alpha chunks for type 4 (LA) and 6 (RGBA) PNGs, to improve compatibility with libpng. https://github.com/ARM-software/astc-encoder/releases/tag/4.8.0 Also fix build error on i386 with CPUTYPE=nehalem and newer: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278722 Upstream issue: https://github.com/ARM-software/astc-encoder/issues/468 Tested build in poudriere 13.3-p2 amd64 and i386 and on live system 13.3-p2 amd64.
Upstream committed fix: https://github.com/ARM-software/astc-encoder/commit/f1756a58e896bc05caf80d203509bb2aa94aaa25 I'll update patch with use this commit instead of local copy.
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c652defa23b0399013b6cd0f2d576f32c75b9a37 commit c652defa23b0399013b6cd0f2d576f32c75b9a37 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-05-23 02:45:36 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-05-23 03:04:47 +0000 misc/astc-encoder: update 4.7.0 → 4.8.0 PR: 279167 misc/astc-encoder/Makefile | 5 ++++- misc/astc-encoder/distinfo | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-)