summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-23 23:23:57 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-23 23:31:52 +0900
commit8f4f71bddbe323cc16c9580725a95ec1c2ec3eba (patch)
treeb464ad35558af3049bfd1985f3cbc4be8af7c455 /app-i18n
parentapp-i18n/uim: fix build with Clang (diff)
downloadgentoo-8f4f71bddbe323cc16c9580725a95ec1c2ec3eba.tar.gz
gentoo-8f4f71bddbe323cc16c9580725a95ec1c2ec3eba.tar.bz2
gentoo-8f4f71bddbe323cc16c9580725a95ec1c2ec3eba.zip
app-i18n/uim: fix build with sys-devel/slibtool
Closes: https://bugs.gentoo.org/792198 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/uim/files/uim-slibtool.patch14
-rw-r--r--app-i18n/uim/uim-1.8.8-r2.ebuild1
2 files changed, 15 insertions, 0 deletions
diff --git a/app-i18n/uim/files/uim-slibtool.patch b/app-i18n/uim/files/uim-slibtool.patch
new file mode 100644
index 000000000000..51560d439e25
--- /dev/null
+++ b/app-i18n/uim/files/uim-slibtool.patch
@@ -0,0 +1,14 @@
+--- a/qt4/common.pro.in
++++ b/qt4/common.pro.in
+@@ -4,8 +4,9 @@
+ @abs_top_srcdir@ @abs_top_srcdir@/uim \
+ @abs_top_srcdir@/replace
+ QMAKE_LIBDIR += @abs_top_builddir@/uim @abs_top_builddir@/replace \
+- @abs_top_builddir@/replace/.libs @abs_top_builddir@/uim/.libs
+-LIBS += -lreplace -luim -luim-scm
++ @abs_top_builddir@/replace/.libs @abs_top_builddir@/uim/.libs \
++ @abs_top_builddir@/sigscheme/libgcroots/.libs
++LIBS += -lreplace -luim -luim-scm -lgcroots
+ !win32:!embedded:!mac {
+ LIBS += -luim-x-util
+ }
diff --git a/app-i18n/uim/uim-1.8.8-r2.ebuild b/app-i18n/uim/uim-1.8.8-r2.ebuild
index 3e0f4c05b075..dd5bb5fe65e5 100644
--- a/app-i18n/uim/uim-1.8.8-r2.ebuild
+++ b/app-i18n/uim/uim-1.8.8-r2.ebuild
@@ -77,6 +77,7 @@ BDEPEND="dev-util/intltool
PATCHES=(
"${FILESDIR}"/${PN}-gentoo.patch
+ "${FILESDIR}"/${PN}-slibtool.patch
"${FILESDIR}"/${PN}-tinfo.patch
"${FILESDIR}"/${PN}-xkb.patch
"${FILESDIR}"/${PN}-zh-TW.patch