commit:     e0d7a60344288e5c79613316d361be07f82963ac
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  2 07:08:20 2023 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 07:08:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d7a603

sci-electronics/xnec2c: Drop hard coded _FORTIFY_SOURCE level

Closes: https://bugs.gentoo.org/896176
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 sci-electronics/xnec2c/xnec2c-4.4.12.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/xnec2c/xnec2c-4.4.12.ebuild 
b/sci-electronics/xnec2c/xnec2c-4.4.12.ebuild
index edc8563c6bd0..7f956b3139c9 100644
--- a/sci-electronics/xnec2c/xnec2c-4.4.12.ebuild
+++ b/sci-electronics/xnec2c/xnec2c-4.4.12.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
@@ -25,8 +25,11 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
        eapply_user
+       # bug 896176
+       sed -i -e "s/-D_FORTIFY_SOURCE=2//g" configure.ac || die
        eautoreconf
 }
+
 src_install() {
        default
        docompress -x /usr/share/man

Reply via email to