public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/curses/, dev-ml/curses/files/
@ 2022-03-21 20:11 Alfredo Tupone
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2022-03-21 20:11 UTC (permalink / raw
  To: gentoo-commits

commit:     29def55eb56b225b57c39db5c967c77431d6411d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 20:11:16 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 20:11:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29def55e

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 <AT> gentoo.org>

 dev-ml/curses/curses-1.0.10.ebuild         |  2 ++
 dev-ml/curses/files/curses-1.0.10-CC.patch | 11 +++++++++++
 2 files changed, 13 insertions(+)

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)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-21 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-21 20:11 [gentoo-commits] repo/gentoo:master commit in: dev-ml/curses/, dev-ml/curses/files/ Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox