public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/kloak/, app-misc/kloak/files/
@ 2022-04-06  8:00 Chaquen Beliakov Amaya
  0 siblings, 0 replies; only message in thread
From: Chaquen Beliakov Amaya @ 2022-04-06  8:00 UTC (permalink / raw
  To: gentoo-commits

commit:     632b8c7f0f83c7c3f890f54a8af091a3e5173582
Author:     Chaquen Beliakov Amaya <c <AT> cgps <DOT> ch>
AuthorDate: Wed Apr  6 07:59:10 2022 +0000
Commit:     Chaquen Beliakov Amaya <c <AT> cgps <DOT> ch>
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


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

only message in thread, other threads:[~2022-04-06  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-06  8:00 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/kloak/, app-misc/kloak/files/ Chaquen Beliakov Amaya

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