Attached a patch to drop -fno-strict-aliasing: commit a3e2ab59d86f6a7f9793ef379a055e3c43c7e5dd (HEAD -> master) Author: Sam James <sam@gentoo.org> Date: Sat May 10 14:56:03 2025 +0100 net-mail/mailutils: drop -fno-strict-aliasing It was added quite a long time ago in: commit 228ea23cb7dbb0a469e85d0089802c209118ac35 Author: Eray Aslan <eras@gentoo.org> Date: Fri Mar 22 10:41:58 2013 +0000 Version bump (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F) I don't see any -Wstrict-aliasing warnings with 3.18 or 3.19 and the testsuite passes. If I had to guess, maybe it was fixed by upstream commit 4f36463dfe2d17b2932a656fffee9aeb7832abe4. Signed-off-by: Sam James <sam@gentoo.org> WDYT? Interestingly, opensuse didn't seem to package it for ages, but back when the history starts on this site at least, they had -fno-strict-aliasing too (and still do): https://build.opensuse.org/request/show/615952.
Created attachment 928383 [details, diff] 0001-net-mail-mailutils-drop-fno-strict-aliasing.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfc3bc56dfd908150abb3029c406563aece84fe commit 6cfc3bc56dfd908150abb3029c406563aece84fe Author: Sam James <sam@gentoo.org> AuthorDate: 2025-05-10 13:56:03 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2025-05-12 13:44:30 +0000 net-mail/mailutils: drop -fno-strict-aliasing It was added quite a long time ago in commit 228ea23cb7dbb0a469e85d0089802c209118ac35 I don't see any -Wstrict-aliasing warnings with 3.18 or 3.19 and the testsuite passes. If I had to guess, maybe it was fixed by upstream commit 4f36463dfe2d17b2932a656fffee9aeb7832abe4. Closes: https://bugs.gentoo.org/955777 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Eray Aslan <eras@gentoo.org> net-mail/mailutils/mailutils-3.18.ebuild | 1 - net-mail/mailutils/mailutils-3.19.ebuild | 1 - 2 files changed, 2 deletions(-)
Thank you!