commit: caffa1e46a63afc0fe31619027f53c458fc90705 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sat Apr 22 23:09:24 2023 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sat Apr 22 23:53:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caffa1e4
dev-libs/mxml: don't hardcode FORTIFY_SOURCE Closes: https://bugs.gentoo.org/893468 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-libs/mxml/{mxml-3.3.1.ebuild => mxml-3.3.1-r1.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/mxml/mxml-3.3.1.ebuild b/dev-libs/mxml/mxml-3.3.1-r1.ebuild similarity index 87% rename from dev-libs/mxml/mxml-3.3.1.ebuild rename to dev-libs/mxml/mxml-3.3.1-r1.ebuild index b1d9680dc6ab..615baea02a93 100644 --- a/dev-libs/mxml/mxml-3.3.1.ebuild +++ b/dev-libs/mxml/mxml-3.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,6 +22,10 @@ BDEPEND="virtual/pkgconfig" src_prepare() { default + # Don't hardcode FORTIFY_SOURCe + sed -e 's/-D_FORTIFY_SOURCE=2//g' -i configure || die + sed -e 's/-D_FORTIFY_SOURCE=2//g' -i configure.ac || die + # Don't run always tests # Enable verbose compiling sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die