From 3f4b1e5199fb62f1327f0cf2f437f0620eb1080f Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Mon, 23 Jul 2018 22:27:56 +0900 Subject: app-i18n/uim: fix build with USE=-X Closes: https://bugs.gentoo.org/661806 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- app-i18n/uim/files/uim-xkb.patch | 18 ++++++++++++++++++ app-i18n/uim/uim-1.8.8.ebuild | 1 + 2 files changed, 19 insertions(+) create mode 100644 app-i18n/uim/files/uim-xkb.patch (limited to 'app-i18n') 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 ) -- cgit v1.2.3-65-gdbad