mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/procenv: Drop -Werror and -fstack-protector (bug #580808).
Package-Manager: portage-2.2.28
This commit is contained in:
18
sys-process/procenv/files/procenv-0.45-flags.patch
Normal file
18
sys-process/procenv/files/procenv-0.45-flags.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -4,7 +4,6 @@
|
||||
-pedantic \
|
||||
-std=gnu99 \
|
||||
-Wall -Wunused \
|
||||
- -fstack-protector \
|
||||
-Wformat
|
||||
|
||||
|
||||
@@ -13,7 +12,6 @@
|
||||
AM_CFLAGS += -fdata-sections -ffunction-sections
|
||||
|
||||
# keep it tight
|
||||
-AM_CFLAGS += -Werror
|
||||
|
||||
bin_PROGRAMS = procenv
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="command-line utility to show process environment"
|
||||
HOMEPAGE="https://github.com/jamesodhunt/procenv"
|
||||
@@ -21,5 +21,9 @@ DEPEND="
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-sysmacros.patch
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-sysmacros.patch \
|
||||
"${FILESDIR}"/${P}-flags.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user