From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/curses/, dev-ml/curses/files/
Date: Mon, 21 Mar 2022 20:11:27 +0000 (UTC) [thread overview]
Message-ID: <1647893476.29def55eb56b225b57c39db5c967c77431d6411d.tupone@gentoo> (raw)
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)
reply other threads:[~2022-03-21 20:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1647893476.29def55eb56b225b57c39db5c967c77431d6411d.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox