From 5a9df6a22b2fed43184421965c86a2c207841ae4 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Tue, 24 May 2016 21:05:23 -0700 Subject: [PATCH] app-emulation/ganeti: Add patch to not invert the check-man-warnings return code Gentoo-Bug: 579550 Package-Manager: portage-2.3.0_rc1 --- ...15-dont-invert-return-values-for-man-warnings.patch | 10 ++++++++++ app-emulation/ganeti/ganeti-2.15.2-r4.ebuild | 1 + 2 files changed, 11 insertions(+) create mode 100644 app-emulation/ganeti/files/ganeti-2.15-dont-invert-return-values-for-man-warnings.patch diff --git a/app-emulation/ganeti/files/ganeti-2.15-dont-invert-return-values-for-man-warnings.patch b/app-emulation/ganeti/files/ganeti-2.15-dont-invert-return-values-for-man-warnings.patch new file mode 100644 index 000000000000..37a687530873 --- /dev/null +++ b/app-emulation/ganeti/files/ganeti-2.15-dont-invert-return-values-for-man-warnings.patch @@ -0,0 +1,10 @@ +--- a/autotools/check-man-warnings 2015-12-03 19:50:34.000000000 +0000 ++++ b/autotools/check-man-warnings 2016-05-22 11:19:31.678635696 +0000 +@@ -35,6 +35,6 @@ + loc="en_US.UTF-8" + fi + +-! LANG="$loc" LC_ALL="$loc" MANWIDTH=80 \ ++LANG="$loc" LC_ALL="$loc" MANWIDTH=80 \ + man --warnings --encoding=utf8 --local-file "$1" 2>&1 >/dev/null | \ + grep -v -e "cannot adjust line" -e "can't break line" | \ diff --git a/app-emulation/ganeti/ganeti-2.15.2-r4.ebuild b/app-emulation/ganeti/ganeti-2.15.2-r4.ebuild index c5dac053a801..704f938e590b 100644 --- a/app-emulation/ganeti/ganeti-2.15.2-r4.ebuild +++ b/app-emulation/ganeti/ganeti-2.15.2-r4.ebuild @@ -173,6 +173,7 @@ PATCHES=( "${FILESDIR}/${PN}-2.15.2-remove-sandbox-failing-tests.patch" "${FILESDIR}/${PN}-2.15-noded-must-run-as-root.patch" "${FILESDIR}/${PN}-2.15-kvmd-run-as-daemon-user.patch" + "${FILESDIR}/${PN}-2.15-dont-invert-return-values-for-man-warnings.patch" ) S="${WORKDIR}/${MY_P}" -- 2.26.2