From d5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Thu, 7 Jul 2016 15:51:52 -0400 Subject: [PATCH] app-admin/needrestart-2.8: Fix QA Notice: make jobserver unavailable: using -j1. Gentoo-Bug: https://bugs.gentoo.org/588216 Closes: https://github.com/gentoo/gentoo/pull/1843 Signed-off-by: Patrice Clement --- .../files/needrestart-parallelmake.patch | 17 +++++++++++++++++ app-admin/needrestart/needrestart-2.8.ebuild | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 app-admin/needrestart/files/needrestart-parallelmake.patch diff --git a/app-admin/needrestart/files/needrestart-parallelmake.patch b/app-admin/needrestart/files/needrestart-parallelmake.patch new file mode 100644 index 0000000000000..0a80de2deaf4c --- /dev/null +++ b/app-admin/needrestart/files/needrestart-parallelmake.patch @@ -0,0 +1,17 @@ +https://github.com/liske/needrestart/pull/34 +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index c432772..8cc2fe0 100644 +--- a/Makefile ++++ b/Makefile +@@ -64,5 +64,5 @@ po/needrestart-notify/messages.pot: ex/notify.d/*-* + + + mo-files: +- make -C po/needrestart +- make -C po/needrestart-notify ++ $(MAKE) -C po/needrestart ++ $(MAKE) -C po/needrestart-notify diff --git a/app-admin/needrestart/needrestart-2.8.ebuild b/app-admin/needrestart/needrestart-2.8.ebuild index 40723015663d4..8c49f74aa95f7 100644 --- a/app-admin/needrestart/needrestart-2.8.ebuild +++ b/app-admin/needrestart/needrestart-2.8.ebuild @@ -30,6 +30,10 @@ RDEPEND=" DEPEND="${RDEPEND} " +PATCHES=( + "${FILESDIR}"/${PN}-parallelmake.patch # https://bugs.gentoo.org/show_bug.cgi?id=588216 +) + src_install() { default doman man/*.1