commit: baa1aa3a0d41f1c64f654c7002711f686f26a5e2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Wed Feb 21 09:15:17 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Feb 21 09:15:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa1aa3a
sys-block/mmc-utils: undefine _FORIFY_SOURCE, inject version Closes: https://bugs.gentoo.org/925158 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> ...-utils-0_p20231010-r1.ebuild => mmc-utils-0_p20231010-r2.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys-block/mmc-utils/mmc-utils-0_p20231010-r1.ebuild b/sys-block/mmc-utils/mmc-utils-0_p20231010-r2.ebuild similarity index 82% rename from sys-block/mmc-utils/mmc-utils-0_p20231010-r1.ebuild rename to sys-block/mmc-utils/mmc-utils-0_p20231010-r2.ebuild index a1d531833438..e1bd4575073b 100644 --- a/sys-block/mmc-utils/mmc-utils-0_p20231010-r1.ebuild +++ b/sys-block/mmc-utils/mmc-utils-0_p20231010-r2.ebuild @@ -23,7 +23,11 @@ RDEPEND="!dev-lang/mercury" src_prepare() { default - sed -i 's/-Werror //' Makefile || die + sed -i \ + -e 's/-Werror //' \ + -e 's/-D_FORTIFY_SOURCE=2 //' \ + -e "s/-DVERSION=.*/-DVERSION=\\\\\"gentoo-${PVR}\\\\\"/" \ + Makefile || die } src_configure() {
