diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-03-21 21:11:16 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-03-21 21:11:16 +0100 |
commit | 29def55eb56b225b57c39db5c967c77431d6411d (patch) | |
tree | 8c555dd0d8c3bd2657727cd4d4aa04551c9263af /dev-ml | |
parent | media-libs/gmmlib: add 22.1.1 (diff) | |
download | gentoo-29def55eb56b225b57c39db5c967c77431d6411d.tar.gz gentoo-29def55eb56b225b57c39db5c967c77431d6411d.tar.bz2 gentoo-29def55eb56b225b57c39db5c967c77431d6411d.zip |
dev-ml/curses: not calling cc directly
Closes: https://bugs.gentoo.org/835735
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/curses/curses-1.0.10.ebuild | 2 | ||||
-rw-r--r-- | dev-ml/curses/files/curses-1.0.10-CC.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-ml/curses/curses-1.0.10.ebuild b/dev-ml/curses/curses-1.0.10.ebuild index 5639cdd42574..e925252d6275 100644 --- a/dev-ml/curses/curses-1.0.10.ebuild +++ b/dev-ml/curses/curses-1.0.10.ebuild @@ -17,3 +17,5 @@ IUSE="+ocamlopt" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="dev-ml/dune-configurator" + +PATCHES=( "${FILESDIR}"/${P}-CC.patch ) diff --git a/dev-ml/curses/files/curses-1.0.10-CC.patch b/dev-ml/curses/files/curses-1.0.10-CC.patch new file mode 100644 index 000000000000..8acff01c5d9c --- /dev/null +++ b/dev-ml/curses/files/curses-1.0.10-CC.patch @@ -0,0 +1,11 @@ +--- a/dune 2022-03-21 21:07:36.326440959 +0100 ++++ b/dune 2022-03-21 21:07:46.650295407 +0100 +@@ -45,7 +45,7 @@ + %{workspace_root} + (with-stdout-to + %{target} +- (system "%{bin:gcc} -x c -E _curses.ml"))))) ++ (system "%{cc} -x c -E _curses.ml"))))) + + (rule + (targets c_flags.sexp c_library_flags.sexp config.ml _config.h) |