diff options
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) |