summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-04-23 01:09:24 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-04-23 01:53:27 +0200
commitcaffa1e46a63afc0fe31619027f53c458fc90705 (patch)
tree6aa5b9c71beebdadb91d407c19ec254b73bfdba1 /dev-libs/mxml
parentnet-ftp/pure-ftpd: Don't hardcode FORTIFY_SOURCE (diff)
downloadgentoo-caffa1e46a63afc0fe31619027f53c458fc90705.tar.gz
gentoo-caffa1e46a63afc0fe31619027f53c458fc90705.tar.bz2
gentoo-caffa1e46a63afc0fe31619027f53c458fc90705.zip
dev-libs/mxml: don't hardcode FORTIFY_SOURCE
Closes: https://bugs.gentoo.org/893468 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/mxml')
-rw-r--r--dev-libs/mxml/mxml-3.3.1-r1.ebuild (renamed from dev-libs/mxml/mxml-3.3.1.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-libs/mxml/mxml-3.3.1.ebuild b/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