1 |
commit: 17ce5d869e6ffb48d32bb3177fd68effee9bc001 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 5 14:20:54 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 5 18:51:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ce5d86 |
7 |
|
8 |
app-il8n/xcin: Fix for slibtool |
9 |
|
10 |
Thanks-to: orbea <orbea <AT> riseup.net> |
11 |
Closes: https://bugs.gentoo.org/779103 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
app-i18n/xcin/files/xcin-2.5.3_pre3-slibtool.patch | 37 ++++++++++++++++++++++ |
15 |
app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild | 1 + |
16 |
2 files changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/app-i18n/xcin/files/xcin-2.5.3_pre3-slibtool.patch b/app-i18n/xcin/files/xcin-2.5.3_pre3-slibtool.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..747c8c5ca02 |
21 |
--- /dev/null |
22 |
+++ b/app-i18n/xcin/files/xcin-2.5.3_pre3-slibtool.patch |
23 |
@@ -0,0 +1,37 @@ |
24 |
+commit 376d5276758b7eb2ee2b5e11d60f2105aac263f2 |
25 |
+Author: orbea <orbea@××××××.net> |
26 |
+Date: Sat Apr 10 16:40:33 2021 -0700 |
27 |
+ |
28 |
+ build: Fix linking with slibtool. |
29 |
+ |
30 |
+ Linking with the static libraries is not ideal, but since |
31 |
+ that is what is provided... |
32 |
+ |
33 |
+diff --git a/src/Makefile.in b/src/Makefile.in |
34 |
+index 62e6154..ac15131 100644 |
35 |
+--- a/src/Makefile.in |
36 |
++++ b/src/Makefile.in |
37 |
+@@ -6,8 +6,8 @@ top_srcdir = @top_srcdir@ |
38 |
+ include $(top_srcdir)/Rules |
39 |
+ |
40 |
+ INC = ${xcininc} ${intl_inc} ${x_includes} -I${ximd_inc} |
41 |
+-LIB = ${xcinlib} -lXimd -lim_comm lib/libxcin.la \ |
42 |
+- ${x_libraries} ${locale_lib} ${dl_lib} ${intl_lib} -lm |
43 |
++LIB = lib/libxcin.la lib/libim_comm.a lib/libXimd.a ${x_libraries} \ |
44 |
++ ${locale_lib} ${dl_libs} ${intl_lib} -lm |
45 |
+ |
46 |
+ BIN = xcin |
47 |
+ SRC = xcin_main.c module.c gui.c xim.c xim_IC.c fkey.c gui_main.c \ |
48 |
+diff --git a/src/util/cin2tab/Makefile.in b/src/util/cin2tab/Makefile.in |
49 |
+index a2ad6f8..0663c5e 100644 |
50 |
+--- a/src/util/cin2tab/Makefile.in |
51 |
++++ b/src/util/cin2tab/Makefile.in |
52 |
+@@ -3,7 +3,7 @@ top_srcdir = @top_srcdir@ |
53 |
+ include $(top_srcdir)/Rules |
54 |
+ |
55 |
+ INC = $(x_includes) $(xcininc) $(intl_inc) |
56 |
+-LIB = $(xcinlib) -lim_comm ../../lib/libxcin.la $(locale_lib) $(intl_lib) -lm |
57 |
++LIB = ../../lib/libxcin.la ../../lib/libim_comm.a $(locale_lib) $(intl_lib) -lm |
58 |
+ |
59 |
+ BIN = cin2tab |
60 |
+ SRC = cin2tab.c syscin.c gencin.c bimscin.c |
61 |
|
62 |
diff --git a/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild b/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild |
63 |
index e71f3998511..9be714d2af2 100644 |
64 |
--- a/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild |
65 |
+++ b/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild |
66 |
@@ -34,6 +34,7 @@ PATCHES=( |
67 |
"${FILESDIR}"/${P}-glibc-2.10.patch |
68 |
"${FILESDIR}"/${P}-make.patch |
69 |
"${FILESDIR}"/${P}-ldflags.patch |
70 |
+ "${FILESDIR}"/${P}-slibtool.patch |
71 |
) |
72 |
|
73 |
src_prepare() { |