diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-23 22:27:56 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-23 22:29:00 +0900 |
commit | 3f4b1e5199fb62f1327f0cf2f437f0620eb1080f (patch) | |
tree | 6da650901ae6e94c2f20ca4adfde06180519751f | |
parent | www-client/vivaldi-snapshot: Old. (diff) | |
download | gentoo-3f4b1e5199fb62f1327f0cf2f437f0620eb1080f.tar.gz gentoo-3f4b1e5199fb62f1327f0cf2f437f0620eb1080f.tar.bz2 gentoo-3f4b1e5199fb62f1327f0cf2f437f0620eb1080f.zip |
app-i18n/uim: fix build with USE=-X
Closes: https://bugs.gentoo.org/661806
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r-- | app-i18n/uim/files/uim-xkb.patch | 18 | ||||
-rw-r--r-- | app-i18n/uim/uim-1.8.8.ebuild | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/app-i18n/uim/files/uim-xkb.patch b/app-i18n/uim/files/uim-xkb.patch new file mode 100644 index 000000000000..538fd964bfb7 --- /dev/null +++ b/app-i18n/uim/files/uim-xkb.patch @@ -0,0 +1,18 @@ +--- a/uim/Makefile.am ++++ b/uim/Makefile.am +@@ -181,6 +181,7 @@ + libuim_eb_la_CFLAGS = @EBCONF_PTHREAD_CFLAGS@ -Wall + endif + ++if LIBUIM_X_UTIL + if XKB + uim_plugin_LTLIBRARIES += libuim-xkb.la + libuim_xkb_la_SOURCES = uim-xkb.c +@@ -189,6 +190,7 @@ + libuim_xkb_la_CFLAGS = @X11_CFLAGS@ + libuim_xkb_la_CPPFLAGS = -I$(top_srcdir) + endif ++endif + + if OSX_DCS + uim_plugin_LTLIBRARIES += libuim-osx-dcs.la diff --git a/app-i18n/uim/uim-1.8.8.ebuild b/app-i18n/uim/uim-1.8.8.ebuild index 96c19d017d73..0356ea9c9bbb 100644 --- a/app-i18n/uim/uim-1.8.8.ebuild +++ b/app-i18n/uim/uim-1.8.8.ebuild @@ -82,6 +82,7 @@ RDEPEND="${CDEPEND} PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch "${FILESDIR}"/${PN}-tinfo.patch + "${FILESDIR}"/${PN}-xkb.patch "${FILESDIR}"/${PN}-zh-TW.patch ) DOCS=( AUTHORS NEWS README RELNOTE doc ) |