Skip to content

Commit

Permalink
app-emulation/ganeti: Add patch to make build system respect HCFLAGS
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.21, Repoman-2.3.6
  • Loading branch information
chutz committed Jan 31, 2018
1 parent 96c12e8 commit 384a630
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions app-emulation/ganeti/files/ganeti-2.15-respect-HFLAGS.patch
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions app-emulation/ganeti/ganeti-2.15.2-r6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
3 changes: 2 additions & 1 deletion app-emulation/ganeti/ganeti-2.16.0_rc1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit 384a630

Please sign in to comment.