Created attachment 233298 [details] archivers/paq: fix build on armv6/armv7 The ARM EABI has an unsigned char type. Fix the build by using explicitly signed chars in the relevant place. Tested with Poudriere on armv7 arm64 FreeBSD 13. The test suite still passes. Please MFH this build fix.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a9ffb1def637dff98c61432f10b610c7aecfedb commit 6a9ffb1def637dff98c61432f10b610c7aecfedb Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-04-18 09:44:54 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-04-19 07:56:35 +0000 archivers/zpaq: fix build on armv6/armv7 The ARM EABI has an unsigned char type. Fix the build by using explicitly signed chars in the relevant place. PR: 263389 archivers/paq/files/patch-libzpaq.cpp (new) | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
Thanks!
(In reply to Mikael Urankar from comment #2) Hi Mikael, Please don't forget to MFH this change.
A commit in branch 2022Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c2554c83e6fe84fce2a725999eab044b8d17774 commit 6c2554c83e6fe84fce2a725999eab044b8d17774 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-04-18 09:44:54 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-04-19 11:00:37 +0000 archivers/zpaq: fix build on armv6/armv7 The ARM EABI has an unsigned char type. Fix the build by using explicitly signed chars in the relevant place. PR: 263389 (cherry picked from commit 6a9ffb1def637dff98c61432f10b610c7aecfedb) archivers/paq/files/patch-libzpaq.cpp (new) | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)