From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3blocks-contrib/, x11-misc/i3blocks-contrib/files/
Date: Tue, 2 Feb 2021 13:23:21 +0000 (UTC) [thread overview]
Message-ID: <1612272193.866d6a411c7dcf7891a11de2649b9c0751aa4bc8.bkohler@gentoo> (raw)
commit: 866d6a411c7dcf7891a11de2649b9c0751aa4bc8
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 2 13:18:42 2021 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Feb 2 13:23:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866d6a41
x11-misc/i3blocks-contrib: respect CFLAGS
Closes: https://bugs.gentoo.org/768318
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
.../files/i3blocks-contrib-respect-CFLAGS.patch | 22 ++++++++++++++++++++++
.../i3blocks-contrib-1.4.0_p20201127.ebuild | 2 ++
2 files changed, 24 insertions(+)
diff --git a/x11-misc/i3blocks-contrib/files/i3blocks-contrib-respect-CFLAGS.patch b/x11-misc/i3blocks-contrib/files/i3blocks-contrib-respect-CFLAGS.patch
new file mode 100644
index 00000000000..15d36b130db
--- /dev/null
+++ b/x11-misc/i3blocks-contrib/files/i3blocks-contrib-respect-CFLAGS.patch
@@ -0,0 +1,22 @@
+diff -ur a/bandwidth2/Makefile b/bandwidth2/Makefile
+--- a/bandwidth2/Makefile 2021-02-02 07:03:47.002894030 -0600
++++ b/bandwidth2/Makefile 2021-02-02 07:05:21.556854777 -0600
+@@ -1,6 +1,6 @@
+ P=bandwidth2
+ OBJECTS=
+-CFLAGS=-g -Wall -Werror -O2 -std=c11
++CFLAGS ?= -g -Wall -Werror -O2 -std=c11
+ LDLIBS=
+
+ $(P): $(OBJECTS)
+diff -ur a/cpu_usage2/Makefile b/cpu_usage2/Makefile
+--- a/cpu_usage2/Makefile 2021-02-02 07:03:47.004894029 -0600
++++ b/cpu_usage2/Makefile 2021-02-02 07:05:51.138842328 -0600
+@@ -1,6 +1,6 @@
+ P=cpu_usage2
+ OBJECTS=
+-CFLAGS=-g -Wall -Werror -O2 -std=gnu11
++CFLAGS ?= -g -Wall -Werror -O2 -std=gnu11
+ LDLIBS=
+
+ $(P): $(OBJECTS)
diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild
index 01e8a293c8a..701962eefc8 100644
--- a/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild
+++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild
@@ -19,6 +19,8 @@ RDEPEND="!<x11-misc/i3blocks-1.5
>=x11-misc/i3blocks-1.5"
BDEPEND=""
+PATCHES=( "${FILESDIR}"/${PN}-respect-CFLAGS.patch )
+
src_prepare() {
sed -i -e '/^$(_BLOCKS):/ s/$/ installdirs/' Makefile
default
next reply other threads:[~2021-02-02 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-02 13:23 Ben Kohler [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-08 12:18 [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3blocks-contrib/, x11-misc/i3blocks-contrib/files/ Ben Kohler
2021-06-08 14:44 Ben Kohler
2023-09-27 17:56 Ben Kohler
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=1612272193.866d6a411c7dcf7891a11de2649b9c0751aa4bc8.bkohler@gentoo \
--to=bkohler@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