commit:     c2d0dfdf2be7840ead3a1d731cf9cf90253af0fd
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 02:13:19 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 02:13:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d0dfdf

app-arch/sharutils: Enforce -Wno-error=format-security

See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-arch/sharutils/sharutils-4.15.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-arch/sharutils/sharutils-4.15.2.ebuild 
b/app-arch/sharutils/sharutils-4.15.2.ebuild
index 75da8ed243a..1edfe87ae80 100644
--- a/app-arch/sharutils/sharutils-4.15.2.ebuild
+++ b/app-arch/sharutils/sharutils-4.15.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit eutils
+inherit eutils flag-o-matic
 
 MY_P="${P/_/-}"
 DESCRIPTION="Tools to deal with shar archives"
@@ -21,6 +21,14 @@ DEPEND="app-arch/xz-utils
 
 S=${WORKDIR}/${MY_P}
 
+src_prepare() {
+       default
+
+       # Upstream is aware but thinks this isn't a bug/problem in sharutils 
itself
+       # See 
http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html
+       append-cflags $(test-flags-CC -Wno-error=format-security)
+}
+
 src_configure() {
        strip-linguas -u po
        econf $(use_enable nls)

Reply via email to