public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/moreutils/, sys-apps/moreutils/files/
Date: Fri,  4 Sep 2020 15:11:29 +0000 (UTC)	[thread overview]
Message-ID: <1599232272.4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc.sam@gentoo> (raw)

commit:     4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  4 15:10:46 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  4 15:11:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dff1d85

sys-apps/moreutils: respect CC

Closes: https://bugs.gentoo.org/740340
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/moreutils/files/moreutils-0.64-respect-env.patch | 13 +++++++++++++
 sys-apps/moreutils/moreutils-0.64.ebuild                  |  4 ++++
 2 files changed, 17 insertions(+)

diff --git a/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch b/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch
new file mode 100644
index 00000000000..ea699d2c5e8
--- /dev/null
+++ b/sys-apps/moreutils/files/moreutils-0.64-respect-env.patch
@@ -0,0 +1,13 @@
+diff --git a/is_utf8/Makefile b/is_utf8/Makefile
+index 13b1021..f0a111e 100644
+--- a/is_utf8/Makefile
++++ b/is_utf8/Makefile
+@@ -37,7 +37,7 @@ LINKERNAME = lib$(NAME).so
+ SONAME = $(LINKERNAME).$(VERSION)
+ REALNAME = $(SONAME).$(MINOR).$(RELEASE)
+ 
+-CC = gcc
++CC ?= gcc
+ CFLAGS ?= -O3 -Wextra -Wall -ansi -Wstrict-prototypes
+ 
+ $(NAME): $(OBJ)

diff --git a/sys-apps/moreutils/moreutils-0.64.ebuild b/sys-apps/moreutils/moreutils-0.64.ebuild
index 86020a66dc6..ad2f9c8167d 100644
--- a/sys-apps/moreutils/moreutils-0.64.ebuild
+++ b/sys-apps/moreutils/moreutils-0.64.ebuild
@@ -31,6 +31,10 @@ DEPEND="
 		app-text/docbook-xml-dtd:4.4
 	)"
 
+PATCHES=(
+	"${FILESDIR}/${PN}-0.64-respect-env.patch"
+)
+
 src_prepare() {
 	# don't build manpages
 	if ! use doc ; then


             reply	other threads:[~2020-09-04 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-04 15:11 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-12 10:43 [gentoo-commits] repo/gentoo:master commit in: sys-apps/moreutils/, sys-apps/moreutils/files/ Tim Harder

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=1599232272.4dff1d851b4d4e37c85fe0e9dcce3558b9e0ecfc.sam@gentoo \
    --to=sam@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