From dbdaa50c313235fbdba49845c3b0b3c92637d93f Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Tue, 19 Oct 2021 23:37:34 +0900 Subject: app-i18n/xvnkb: do not call cc directly Closes: https://bugs.gentoo.org/729274 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori --- app-i18n/xvnkb/files/xvnkb-cc.patch | 10 ++++++++++ app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 app-i18n/xvnkb/files/xvnkb-cc.patch (limited to 'app-i18n/xvnkb') diff --git a/app-i18n/xvnkb/files/xvnkb-cc.patch b/app-i18n/xvnkb/files/xvnkb-cc.patch new file mode 100644 index 000000000000..1104998f7883 --- /dev/null +++ b/app-i18n/xvnkb/files/xvnkb-cc.patch @@ -0,0 +1,10 @@ +--- a/tools/Makefile.common ++++ b/tools/Makefile.common +@@ -49,6 +49,6 @@ + Makefile.dep: + @echo + @echo -n Create $@ ... +- @gcc -I$(XLIB_INC) -MM *.c > $@ ++ @$(CC) -I$(XLIB_INC) -MM *.c > $@ + @echo " done" + @echo diff --git a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild index 837f22f8d6f1..5281e3024429 100644 --- a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild +++ b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild @@ -20,7 +20,10 @@ DEPEND="${RDEPEND} x11-base/xorg-proto" BDEPEND="xft? ( virtual/pkgconfig )" -PATCHES=( "${FILESDIR}"/${P}-ldflags.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-cc.patch + "${FILESDIR}"/${P}-ldflags.patch +) src_prepare() { default -- cgit v1.2.3-65-gdbad