diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-10-19 23:37:34 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-10-19 23:42:02 +0900 |
commit | dbdaa50c313235fbdba49845c3b0b3c92637d93f (patch) | |
tree | 825f1edc0af71c0711972397d801b047e4c5fd24 /app-i18n/xvnkb | |
parent | app-i18n/xvnkb: update patch (diff) | |
download | gentoo-dbdaa50c313235fbdba49845c3b0b3c92637d93f.tar.gz gentoo-dbdaa50c313235fbdba49845c3b0b3c92637d93f.tar.bz2 gentoo-dbdaa50c313235fbdba49845c3b0b3c92637d93f.zip |
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 <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/xvnkb')
-rw-r--r-- | app-i18n/xvnkb/files/xvnkb-cc.patch | 10 | ||||
-rw-r--r-- | app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild | 5 |
2 files changed, 14 insertions, 1 deletions
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 |