summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/sharutils')
-rw-r--r--app-arch/sharutils/sharutils-4.15.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/app-arch/sharutils/sharutils-4.15.2.ebuild b/app-arch/sharutils/sharutils-4.15.2.ebuild
index 75da8ed243a1..1edfe87ae807 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)