Created attachment 234978 [details] Patch for libmad Update to 0.16.2 and backport commit 9ec2efa6ba4bfaed7805867077d3a67daa022331 to enable 64-bit math on aarch64 Tested on RockPro64 with madplay and sox
Tested successfully with Poudriere on armv7 arm64 FreeBSD 13.1.
Last versions of libmad have lib/libmad.so.0.16.x and lib/libmad.so. After every update I get this: # pkg check -d Checking all packages: 100% audacity is missing a required shared library: libmad.so.0.16.1 cdrdao is missing a required shared library: libmad.so.0.16.1 k3b is missing a required shared library: libmad.so.0.16.1 libxine is missing a required shared library: libmad.so.0.16.1 mpg321 is missing a required shared library: libmad.so.0.16.1 sox is missing a required shared library: libmad.so.0.16.1 vlc is missing a required shared library: libmad.so.0.16.1 AFAIR, it start after this commit: https://cgit.freebsd.org/ports/commit/audio/libmad?id=519c89efe3a9ddc8f3a57d1bb4940ff355086576 I think it's USES=cmake "side effect".
No, users needs to be bumped (PORTREVISION)
Sunpoet, can we add the aarch64 patch?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e02c598a80af418d4a4be7c112c33dd542cc8b97 commit e02c598a80af418d4a4be7c112c33dd542cc8b97 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-11 14:21:46 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-11 14:21:46 +0000 audio/libmad: Allow aarch64 to use 64-bit fixed point math PR: 264937 Reported by: diizzy audio/libmad/Makefile | 3 +++ audio/libmad/distinfo | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-)
Committed. Thanks!
(In reply to VVD from comment #2) Fixed in https://cgit.freebsd.org/ports/commit/?id=390e09a82cda665f8742df005574f673fd130545