From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/kloak/, app-misc/kloak/files/
Date: Wed, 6 Apr 2022 10:48:33 +0000 (UTC) [thread overview]
Message-ID: <1649232043.632b8c7f0f83c7c3f890f54a8af091a3e5173582.andrewammerlaan@gentoo> (raw)
commit: 632b8c7f0f83c7c3f890f54a8af091a3e5173582
Author: Chaquen Beliakov Amaya <c <AT> cgps <DOT> ch>
AuthorDate: Wed Apr 6 07:59:10 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Apr 6 08:00:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=632b8c7f
app-misc/kloak:
Signed-off-by: Chaquen Beliakov Amaya <c <AT> cgps.ch>
Fixed use CC instead of explicit gcc toolchain
app-misc/kloak/files/toolchain-call.patch | 15 +++++++++++++++
app-misc/kloak/kloak-0.2.30.ebuild | 4 +++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/app-misc/kloak/files/toolchain-call.patch b/app-misc/kloak/files/toolchain-call.patch
new file mode 100644
index 000000000..2f11953ed
--- /dev/null
+++ b/app-misc/kloak/files/toolchain-call.patch
@@ -0,0 +1,15 @@
+--- a/Makefile
++++ b/Makefile
+@@ -3,10 +3,10 @@
+ all : kloak eventcap
+
+ kloak : src/main.c src/keycodes.c src/keycodes.h
+- gcc src/main.c src/keycodes.c -o kloak -lm -lpthread $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
++ $(CC) src/main.c src/keycodes.c -o kloak -lm -lpthread $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
+
+ eventcap : src/eventcap.c
+- gcc src/eventcap.c -o eventcap $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
++ $(CC) src/eventcap.c -o eventcap $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
+
+ clean :
+ rm -f kloak eventcap
diff --git a/app-misc/kloak/kloak-0.2.30.ebuild b/app-misc/kloak/kloak-0.2.30.ebuild
index 060119e53..6875daa32 100644
--- a/app-misc/kloak/kloak-0.2.30.ebuild
+++ b/app-misc/kloak/kloak-0.2.30.ebuild
@@ -16,7 +16,9 @@ DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
CONFIG_CHECK="~UINPUT"
-
+PATCHES=(
+ "${FILESDIR}"/toolchain-call.patch
+)
src_install() {
dobin eventcap
dobin kloak
next reply other threads:[~2022-04-06 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 10:48 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 10:47 [gentoo-commits] repo/proj/guru:master commit in: app-misc/kloak/, app-misc/kloak/files/ David Roman
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=1649232043.632b8c7f0f83c7c3f890f54a8af091a3e5173582.andrewammerlaan@gentoo \
--to=andrewammerlaan@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