Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/xvnkb/, app-i18n/xvnkb/files/
Date: Tue, 19 Oct 2021 14:42:14
Message-Id: 1634654522.dbdaa50c313235fbdba49845c3b0b3c92637d93f.hattya@gentoo
1 commit: dbdaa50c313235fbdba49845c3b0b3c92637d93f
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 19 14:37:34 2021 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 19 14:42:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdaa50c
7
8 app-i18n/xvnkb: do not call cc directly
9
10 Closes: https://bugs.gentoo.org/729274
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
13
14 app-i18n/xvnkb/files/xvnkb-cc.patch | 10 ++++++++++
15 app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild | 5 ++++-
16 2 files changed, 14 insertions(+), 1 deletion(-)
17
18 diff --git a/app-i18n/xvnkb/files/xvnkb-cc.patch b/app-i18n/xvnkb/files/xvnkb-cc.patch
19 new file mode 100644
20 index 00000000000..1104998f788
21 --- /dev/null
22 +++ b/app-i18n/xvnkb/files/xvnkb-cc.patch
23 @@ -0,0 +1,10 @@
24 +--- a/tools/Makefile.common
25 ++++ b/tools/Makefile.common
26 +@@ -49,6 +49,6 @@
27 + Makefile.dep:
28 + @echo
29 + @echo -n Create $@ ...
30 +- @gcc -I$(XLIB_INC) -MM *.c > $@
31 ++ @$(CC) -I$(XLIB_INC) -MM *.c > $@
32 + @echo " done"
33 + @echo
34
35 diff --git a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild
36 index 837f22f8d6f..5281e302442 100644
37 --- a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild
38 +++ b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild
39 @@ -20,7 +20,10 @@ DEPEND="${RDEPEND}
40 x11-base/xorg-proto"
41 BDEPEND="xft? ( virtual/pkgconfig )"
42
43 -PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
44 +PATCHES=(
45 + "${FILESDIR}"/${PN}-cc.patch
46 + "${FILESDIR}"/${P}-ldflags.patch
47 +)
48
49 src_prepare() {
50 default