diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-02-21 10:15:17 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-02-21 10:15:37 +0100 |
commit | baa1aa3a0d41f1c64f654c7002711f686f26a5e2 (patch) | |
tree | 367945ebe8270d7b69ea9c5c37c5e2a9a357dd03 /sys-block | |
parent | dev-libs/nspr: add 'append-lfs-flags' call (diff) | |
download | gentoo-baa1aa3a0d41f1c64f654c7002711f686f26a5e2.tar.gz gentoo-baa1aa3a0d41f1c64f654c7002711f686f26a5e2.tar.bz2 gentoo-baa1aa3a0d41f1c64f654c7002711f686f26a5e2.zip |
sys-block/mmc-utils: undefine _FORIFY_SOURCE, inject version
Closes: https://bugs.gentoo.org/925158
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/mmc-utils/mmc-utils-0_p20231010-r2.ebuild (renamed from sys-block/mmc-utils/mmc-utils-0_p20231010-r1.ebuild) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-block/mmc-utils/mmc-utils-0_p20231010-r1.ebuild b/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() { |