commit:     384a630a875b79a9cef9e9286009fad5d0978296
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 31 00:33:26 2018 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Jan 31 00:33:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384a630a

app-emulation/ganeti: Add patch to make build system respect HCFLAGS

Package-Manager: Portage-2.3.21, Repoman-2.3.6

 app-emulation/ganeti/files/ganeti-2.15-respect-HFLAGS.patch | 12 ++++++++++++
 app-emulation/ganeti/ganeti-2.15.2-r6.ebuild                |  1 +
 app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild               |  3 ++-
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/app-emulation/ganeti/files/ganeti-2.15-respect-HFLAGS.patch 
b/app-emulation/ganeti/files/ganeti-2.15-respect-HFLAGS.patch
new file mode 100644
index 00000000000..ffab1838bf1
--- /dev/null
+++ b/app-emulation/ganeti/files/ganeti-2.15-respect-HFLAGS.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.am b/Makefile.am
+index a04b95ae3..e26508ad9 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -803,6 +803,7 @@ HFLAGS = \
+       -fwarn-tabs \
+       -optP-include -optP$(HASKELL_PACKAGE_VERSIONS_FILE) \
+       -hide-all-packages \
++      $(HCFLAGS) \
+       `cat $(HASKELL_PACKAGE_IDS_FILE)` \
+       $(GHC_BYVERSION_FLAGS)
+ if DEVELOPER_MODE

diff --git a/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild 
b/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild
index 739b9186e2d..cb14808fba4 100644
--- a/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild
+++ b/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild
@@ -177,6 +177,7 @@ PATCHES+=(
        "${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"
+       "${FILESDIR}/${PN}-2.15-respect-HFLAGS.patch"
 )
 
 S="${WORKDIR}/${MY_P}"

diff --git a/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild 
b/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild
index 5aee625621f..735e13c59f4 100644
--- a/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild
+++ b/app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -183,6 +183,7 @@ PATCHES+=(
        "${FILESDIR}/${PN}-2.16-kvmd-run-as-daemon-user.patch"
        
"${FILESDIR}/${PN}-2.15-dont-invert-return-values-for-man-warnings.patch"
        "${FILESDIR}/fix_ftbfs_with_sphinx_1.4"
+       "${FILESDIR}/${PN}-2.15-respect-HFLAGS.patch"
 )
 
 S="${WORKDIR}/${MY_P}"

Reply via email to