diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-04-22 14:10:39 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-04-22 14:10:51 +0200 |
commit | 6ba532c9afb4c3cd21b599a1c4e53ab2098f0e75 (patch) | |
tree | 43fb0845022d4601b44fe672d94570c8344a0571 /sys-process | |
parent | net-proxy/privoxy: honor multiple instances for ebegin/eend (diff) | |
download | gentoo-6ba532c9afb4c3cd21b599a1c4e53ab2098f0e75.tar.gz gentoo-6ba532c9afb4c3cd21b599a1c4e53ab2098f0e75.tar.bz2 gentoo-6ba532c9afb4c3cd21b599a1c4e53ab2098f0e75.zip |
sys-process/procenv: Drop -Werror and -fstack-protector (bug #580808).
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/procenv/files/procenv-0.45-flags.patch | 18 | ||||
-rw-r--r-- | sys-process/procenv/procenv-0.45.ebuild | 8 |
2 files changed, 24 insertions, 2 deletions
diff --git a/sys-process/procenv/files/procenv-0.45-flags.patch b/sys-process/procenv/files/procenv-0.45-flags.patch new file mode 100644 index 000000000000..a4c6be95c420 --- /dev/null +++ b/sys-process/procenv/files/procenv-0.45-flags.patch @@ -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 + diff --git a/sys-process/procenv/procenv-0.45.ebuild b/sys-process/procenv/procenv-0.45.ebuild index 3daf7544f795..83e415621128 100644 --- a/sys-process/procenv/procenv-0.45.ebuild +++ b/sys-process/procenv/procenv-0.45.ebuild @@ -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 } |