aboutsummaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-11-22 08:45:01 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-11-22 08:46:42 +0300
commit463dedc3de0338ca311fec1814138ffda7420ab0 (patch)
treec0d926db0b307ff5a4921a32513e0c8c0f27ebaa /sys-fs
parentdev-build/just: update SRC_URI (diff)
downloadguru-463dedc3de0338ca311fec1814138ffda7420ab0.tar.gz
guru-463dedc3de0338ca311fec1814138ffda7420ab0.tar.bz2
guru-463dedc3de0338ca311fec1814138ffda7420ab0.zip
sys-fs/gfs2-utils: avoid adding -D_FORTIFY_SOURCE=2 to CPPFLAGS
Closes: https://bugs.gentoo.org/944282 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/gfs2-utils/gfs2-utils-3.5.1-r1.ebuild (renamed from sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild b/sys-fs/gfs2-utils/gfs2-utils-3.5.1-r1.ebuild
index bd7341853..2259f119b 100644
--- a/sys-fs/gfs2-utils/gfs2-utils-3.5.1.ebuild
+++ b/sys-fs/gfs2-utils/gfs2-utils-3.5.1-r1.ebuild
@@ -40,7 +40,9 @@ src_prepare() {
eapply "${FILESDIR}"/gfs2_withdraw_helper.patch
eapply "${FILESDIR}"/python3.patch
- sed -i '/^CFLAGS=/s!\$\(GDB_FLAGS\|OPT_CFLAGS\)\s*!!g' configure.ac || die
+ sed -e '/^CFLAGS=/s!\s*\$\(GDB_FLAGS\|OPT_CFLAGS\)!!g' \
+ -e '/^CPPFLAGS=/s!\s*\$OPT_CPPFLAGS!!' \
+ -i configure.ac || die
default