summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-19 23:37:34 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-19 23:42:02 +0900
commitdbdaa50c313235fbdba49845c3b0b3c92637d93f (patch)
tree825f1edc0af71c0711972397d801b047e4c5fd24 /app-i18n
parentapp-i18n/xvnkb: update patch (diff)
downloadgentoo-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')
-rw-r--r--app-i18n/xvnkb/files/xvnkb-cc.patch10
-rw-r--r--app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild5
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