Bug 279167 - misc/astc-encoder: update to 4.8.0
Summary: misc/astc-encoder: update to 4.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
URL: https://github.com/ARM-software/astc-...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-19 18:45 UTC by Vladimir Druzenko
Modified: 2024-05-23 03:05 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
update to 4.8.0 (1.77 KB, patch)
2024-05-19 18:45 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2024-05-19 18:45:54 UTC
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.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-05-22 22:56:51 UTC
Upstream committed fix: https://github.com/ARM-software/astc-encoder/commit/f1756a58e896bc05caf80d203509bb2aa94aaa25
I'll update patch with use this commit instead of local copy.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-05-23 03:04:56 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-05-23 03:05:32 UTC
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(-)