uwimap: fix build using gcc14 and recompile for library/security/openssl-3
[oi-userland.git] / components / desktop / stardict / patches / 02-ld.patch
blob13cfef4fff550c17d9dec6acef72ef315799452d
1 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-dictdotcn-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-dictdotcn-plugin/Makefile.am
2 --- stardict-3.0.3/dict/stardict-plugins/stardict-dictdotcn-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
3 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-dictdotcn-plugin/Makefile.am 2014-12-02 16:01:46.487562424 +0300
4 @@ -3,7 +3,7 @@
5 if DARWIN_SUPPORT
6 LD_VERSION_SCRIPT_OPTION=
7 else
8 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_dictdotcn.v"
9 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_dictdotcn.v"
10 endif
12 noinst_HEADERS = stardict_dictdotcn.h
13 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-espeak-tts-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-espeak-tts-plugin/Makefile.am
14 --- stardict-3.0.3/dict/stardict-plugins/stardict-espeak-tts-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
15 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-espeak-tts-plugin/Makefile.am 2014-12-02 16:01:46.498947787 +0300
16 @@ -4,7 +4,7 @@
17 if DARWIN_SUPPORT
18 LD_VERSION_SCRIPT_OPTION=
19 else
20 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_espeak.v"
21 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_espeak.v"
22 endif
24 noinst_HEADERS = stardict_espeak.h
25 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-festival-tts-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-festival-tts-plugin/Makefile.am
26 --- stardict-3.0.3/dict/stardict-plugins/stardict-festival-tts-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
27 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-festival-tts-plugin/Makefile.am 2014-12-02 16:01:46.484697760 +0300
28 @@ -4,7 +4,7 @@
29 if DARWIN_SUPPORT
30 LD_VERSION_SCRIPT_OPTION=
31 else
32 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_festival.v"
33 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_festival.v"
34 endif
36 noinst_HEADERS = stardict_festival.h
37 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-gucharmap-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-gucharmap-plugin/Makefile.am
38 --- stardict-3.0.3/dict/stardict-plugins/stardict-gucharmap-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
39 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-gucharmap-plugin/Makefile.am 2014-12-02 16:01:46.507185083 +0300
40 @@ -4,7 +4,7 @@
41 if DARWIN_SUPPORT
42 LD_VERSION_SCRIPT_OPTION=
43 else
44 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_gucharmap.v"
45 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_gucharmap.v"
46 endif
48 noinst_HEADERS = stardict_gucharmap.h
49 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-html-parsedata-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-html-parsedata-plugin/Makefile.am
50 --- stardict-3.0.3/dict/stardict-plugins/stardict-html-parsedata-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
51 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-html-parsedata-plugin/Makefile.am 2014-12-02 16:01:46.493428426 +0300
52 @@ -4,7 +4,7 @@
53 if DARWIN_SUPPORT
54 LD_VERSION_SCRIPT_OPTION=
55 else
56 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_html_parsedata.v"
57 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_html_parsedata.v"
58 endif
60 noinst_HEADERS = stardict_html_parsedata.h
61 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-man-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-man-plugin/Makefile.am
62 --- stardict-3.0.3/dict/stardict-plugins/stardict-man-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
63 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-man-plugin/Makefile.am 2014-12-02 16:01:46.490622235 +0300
64 @@ -4,7 +4,7 @@
65 if DARWIN_SUPPORT
66 LD_VERSION_SCRIPT_OPTION=
67 else
68 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_man.v"
69 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_man.v"
70 endif
72 noinst_HEADERS = stardict_man.h
73 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-powerword-parsedata-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-powerword-parsedata-plugin/Makefile.am
74 --- stardict-3.0.3/dict/stardict-plugins/stardict-powerword-parsedata-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
75 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-powerword-parsedata-plugin/Makefile.am 2014-12-02 16:01:46.509881238 +0300
76 @@ -4,7 +4,7 @@
77 if DARWIN_SUPPORT
78 LD_VERSION_SCRIPT_OPTION=
79 else
80 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_powerword_parsedata.v"
81 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_powerword_parsedata.v"
82 endif
84 noinst_HEADERS = stardict_powerword_parsedata.h
85 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-qqwry-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-qqwry-plugin/Makefile.am
86 --- stardict-3.0.3/dict/stardict-plugins/stardict-qqwry-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
87 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-qqwry-plugin/Makefile.am 2014-12-02 16:01:46.520435631 +0300
88 @@ -4,7 +4,7 @@
89 if DARWIN_SUPPORT
90 LD_VERSION_SCRIPT_OPTION=
91 else
92 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_qqwry.v"
93 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_qqwry.v"
94 endif
96 noinst_HEADERS = stardict_qqwry.h
97 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-spell-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-spell-plugin/Makefile.am
98 --- stardict-3.0.3/dict/stardict-plugins/stardict-spell-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
99 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-spell-plugin/Makefile.am 2014-12-02 16:01:46.501634972 +0300
100 @@ -4,7 +4,7 @@
101 if DARWIN_SUPPORT
102 LD_VERSION_SCRIPT_OPTION=
103 else
104 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_spell.v"
105 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_spell.v"
106 endif
108 noinst_HEADERS = stardict_spell.h
109 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-update-info-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-update-info-plugin/Makefile.am
110 --- stardict-3.0.3/dict/stardict-plugins/stardict-update-info-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
111 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-update-info-plugin/Makefile.am 2014-12-02 16:01:46.496170737 +0300
112 @@ -4,7 +4,7 @@
113 if DARWIN_SUPPORT
114 LD_VERSION_SCRIPT_OPTION=
115 else
116 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_update_info.v"
117 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_update_info.v"
118 endif
120 noinst_HEADERS = stardict_update_info.h
121 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-wiki-parsedata-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-wiki-parsedata-plugin/Makefile.am
122 --- stardict-3.0.3/dict/stardict-plugins/stardict-wiki-parsedata-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
123 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-wiki-parsedata-plugin/Makefile.am 2014-12-02 16:01:46.512548453 +0300
124 @@ -4,7 +4,7 @@
125 if DARWIN_SUPPORT
126 LD_VERSION_SCRIPT_OPTION=
127 else
128 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_wiki_parsedata.v"
129 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_wiki_parsedata.v"
130 endif
132 noinst_HEADERS = stardict_wiki_parsedata.h
133 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-wordnet-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-wordnet-plugin/Makefile.am
134 --- stardict-3.0.3/dict/stardict-plugins/stardict-wordnet-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
135 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-wordnet-plugin/Makefile.am 2014-12-02 16:01:46.517856585 +0300
136 @@ -5,7 +5,7 @@
137 if DARWIN_SUPPORT
138 WORDNET_LD_VERSION_SCRIPT_OPTION=
139 else
140 -WORDNET_LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_wordnet.v"
141 +WORDNET_LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_wordnet.v"
142 endif
144 stardict_wordnet_LTLIBRARIES = stardict_wordnet.la
145 @@ -23,7 +23,7 @@
146 if DARWIN_SUPPORT
147 WORDNET_PARSEDATA_LD_VERSION_SCRIPT_OPTION=
148 else
149 -WORDNET_PARSEDATA_LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_wordnet_parsedata.v"
150 +WORDNET_PARSEDATA_LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_wordnet_parsedata.v"
151 endif
153 stardict_wordnet_parsedata_LTLIBRARIES = stardict_wordnet_parsedata.la
154 diff -ur stardict-3.0.3/dict/stardict-plugins/stardict-xdxf-parsedata-plugin/Makefile.am stardict-3.0.3.patched/dict/stardict-plugins/stardict-xdxf-parsedata-plugin/Makefile.am
155 --- stardict-3.0.3/dict/stardict-plugins/stardict-xdxf-parsedata-plugin/Makefile.am 2011-07-03 10:58:40.000000000 +0400
156 +++ stardict-3.0.3.patched/dict/stardict-plugins/stardict-xdxf-parsedata-plugin/Makefile.am 2014-12-02 16:01:46.504389087 +0300
157 @@ -4,7 +4,7 @@
158 if DARWIN_SUPPORT
159 LD_VERSION_SCRIPT_OPTION=
160 else
161 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_xdxf_parsedata.v"
162 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_xdxf_parsedata.v"
163 endif
165 noinst_HEADERS = stardict_xdxf_parsedata.h
166 --- stardict-3.0.7/dict/stardict-plugins/stardict-youdaodict-plugin/Makefile.am.orig 2023-10-02 23:32:53.000000000 +0200
167 +++ stardict-3.0.7/dict/stardict-plugins/stardict-youdaodict-plugin/Makefile.am 2024-01-01 17:19:26.983148475 +0100
168 @@ -3,7 +3,7 @@
169 if DARWIN_SUPPORT
170 LD_VERSION_SCRIPT_OPTION=
171 else
172 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_youdaodict.v"
173 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_youdaodict.v"
174 endif
176 noinst_HEADERS = stardict_youdaodict.h
177 --- stardict-3.0.7/dict/stardict-plugins/stardict-customdict-plugin/Makefile.am.orig 2023-10-02 23:32:53.000000000 +0200
178 +++ stardict-3.0.7/dict/stardict-plugins/stardict-customdict-plugin/Makefile.am 2024-01-01 17:24:56.175715828 +0100
179 @@ -5,7 +5,7 @@
180 if DARWIN_SUPPORT
181 LD_VERSION_SCRIPT_OPTION=
182 else
183 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/customdict.v"
184 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/customdict.v"
185 endif
187 noinst_HEADERS = customdict.h
188 --- stardict-3.0.7/dict/stardict-plugins/stardict-info-plugin/Makefile.am.orig 2023-10-02 23:32:53.000000000 +0200
189 +++ stardict-3.0.7/dict/stardict-plugins/stardict-info-plugin/Makefile.am 2024-01-01 17:31:55.886958747 +0100
190 @@ -4,7 +4,7 @@
191 if DARWIN_SUPPORT
192 LD_VERSION_SCRIPT_OPTION=
193 else
194 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_info.v"
195 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_info.v"
196 endif
198 noinst_HEADERS = stardict_info.h
199 --- stardict-3.0.7/dict/stardict-plugins/stardict-fortune-plugin/Makefile.am.orig 2023-10-02 23:32:53.000000000 +0200
200 +++ stardict-3.0.7/dict/stardict-plugins/stardict-fortune-plugin/Makefile.am 2024-01-01 17:35:57.611377611 +0100
201 @@ -4,7 +4,7 @@
202 if DARWIN_SUPPORT
203 LD_VERSION_SCRIPT_OPTION=
204 else
205 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_fortune.v"
206 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_fortune.v"
207 endif
209 noinst_HEADERS = stardict_fortune.h
210 --- stardict-3.0.7/dict/stardict-plugins/stardict-cal-plugin/Makefile.am.orig 2023-10-02 23:32:53.000000000 +0200
211 +++ stardict-3.0.7/dict/stardict-plugins/stardict-cal-plugin/Makefile.am 2024-01-01 17:39:17.798452094 +0100
212 @@ -4,7 +4,7 @@
213 if DARWIN_SUPPORT
214 LD_VERSION_SCRIPT_OPTION=
215 else
216 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_cal.v"
217 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_cal.v"
218 endif
220 noinst_HEADERS = stardict_cal.h
221 --- stardict-3.0.7/dict/stardict-plugins/stardict-multi-cmd-plugin/Makefile.am.orig 2023-10-02 23:32:53.000000000 +0200
222 +++ stardict-3.0.7/dict/stardict-plugins/stardict-multi-cmd-plugin/Makefile.am 2024-01-01 17:42:13.633762306 +0100
223 @@ -4,7 +4,7 @@
224 if DARWIN_SUPPORT
225 LD_VERSION_SCRIPT_OPTION=
226 else
227 -LD_VERSION_SCRIPT_OPTION="-Wl,--version-script=$(srcdir)/stardict_multi_cmd.v"
228 +LD_VERSION_SCRIPT_OPTION="-export-symbols $(srcdir)/stardict_multi_cmd.v"
229 endif
231 noinst_HEADERS = stardict_multi_cmd.h