1 |
commit: ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 22 07:03:47 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 22 07:27:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/elt-patches.git/commit/?id=ec76f6e0 |
7 |
|
8 |
Add application script, and a Makefile |
9 |
|
10 |
Makefile | 47 ++ |
11 |
eltpatch.in | 488 +++++++++++++++++++++ |
12 |
{aixrtl => patches/aixrtl}/1.5.0-cmds-c | 0 |
13 |
{aixrtl => patches/aixrtl}/1.5.0-cmds-cxx | 0 |
14 |
{aixrtl => patches/aixrtl}/1.5.0-expsym-c | 0 |
15 |
{aixrtl => patches/aixrtl}/1.5.0-expsym-cxx | 0 |
16 |
{aixrtl => patches/aixrtl}/1.5.0-noundef-c | 0 |
17 |
{aixrtl => patches/aixrtl}/1.5.0-noundef-cxx | 0 |
18 |
{aixrtl => patches/aixrtl}/1.5.0-soname | 0 |
19 |
{aixrtl => patches/aixrtl}/1.5.0-usertl-c | 0 |
20 |
{aixrtl => patches/aixrtl}/1.5.0-usertl-cxx | 0 |
21 |
{aixrtl => patches/aixrtl}/1.5.22-cmds-c | 0 |
22 |
{aixrtl => patches/aixrtl}/1.5.22-cmds-cxx | 0 |
23 |
{aixrtl => patches/aixrtl}/2.0.0-fpic-c | 0 |
24 |
{aixrtl => patches/aixrtl}/2.0.0-fpic-cxx | 0 |
25 |
{aixrtl => patches/aixrtl}/2.2.0-cmds-c | 0 |
26 |
{aixrtl => patches/aixrtl}/2.2.0-cmds-cxx | 0 |
27 |
{aixrtl => patches/aixrtl}/2.2.0-expsym-c | 0 |
28 |
{aixrtl => patches/aixrtl}/2.2.0-expsym-cxx | 0 |
29 |
{aixrtl => patches/aixrtl}/2.2.0-noundef-c | 0 |
30 |
{aixrtl => patches/aixrtl}/2.2.0-noundef-cxx | 0 |
31 |
{aixrtl => patches/aixrtl}/2.2.0-usertl-cxx | 0 |
32 |
{aixrtl => patches/aixrtl}/2.2.8-cmds-c | 0 |
33 |
{aixrtl => patches/aixrtl}/2.2.8-cmds-cxx | 0 |
34 |
{aixrtl => patches/aixrtl}/2.4.0-expsym-c | 0 |
35 |
{aixrtl => patches/aixrtl}/2.4.0-expsym-cxx | 0 |
36 |
{aixrtl => patches/aixrtl}/2.4.2.418-cmds-c | 0 |
37 |
{aixrtl => patches/aixrtl}/2.4.2.418-cmds-cxx | 0 |
38 |
{aixrtl => patches/aixrtl}/2.4.2.418-soname | 0 |
39 |
{aixrtl => patches/aixrtl}/2.4.4-expsym-c | 0 |
40 |
{aixrtl => patches/aixrtl}/2.4.4-expsym-cxx | 0 |
41 |
{aixrtl => patches/aixrtl}/2.4.4-with-svr4 | 0 |
42 |
{as-needed => patches/as-needed}/1.5 | 0 |
43 |
{as-needed => patches/as-needed}/1.5.26 | 0 |
44 |
{as-needed => patches/as-needed}/2.2.6 | 0 |
45 |
{as-needed => patches/as-needed}/2.4.2 | 0 |
46 |
{as-needed => patches/as-needed}/2.4.3 | 0 |
47 |
{cross => patches/cross}/2.2 | 0 |
48 |
{cross => patches/cross}/2.4 | 0 |
49 |
{cross => patches/cross}/2.4.3 | 0 |
50 |
{darwin-conf => patches/darwin-conf}/1.5 | 0 |
51 |
{darwin-conf => patches/darwin-conf}/1.5b | 0 |
52 |
{darwin-conf => patches/darwin-conf}/2.2.4 | 0 |
53 |
{darwin-conf => patches/darwin-conf}/2.2.6 | 0 |
54 |
{darwin-conf => patches/darwin-conf}/2.4.6 | 0 |
55 |
{darwin-ltconf => patches/darwin-ltconf}/1.2.0 | 0 |
56 |
{darwin-ltconf => patches/darwin-ltconf}/1.3.0 | 0 |
57 |
{darwin-ltmain => patches/darwin-ltmain}/1.2.0 | 0 |
58 |
{darwin-ltmain => patches/darwin-ltmain}/1.3.0 | 0 |
59 |
{deplibs => patches/deplibs}/1.5 | 0 |
60 |
{deplibs => patches/deplibs}/2.1b | 0 |
61 |
{fbsd-conf => patches/fbsd-conf}/00broken-libglade | 0 |
62 |
{fbsd-conf => patches/fbsd-conf}/1.4.0 | 0 |
63 |
{fbsd-conf => patches/fbsd-conf}/1.5.10 | 0 |
64 |
{fbsd-conf => patches/fbsd-conf}/1.5.18 | 0 |
65 |
{fbsd-conf => patches/fbsd-conf}/1.5.20 | 0 |
66 |
{fbsd-conf => patches/fbsd-conf}/1.5.20b | 0 |
67 |
{fbsd-conf => patches/fbsd-conf}/1.9f | 0 |
68 |
{fbsd-ltconf => patches/fbsd-ltconf}/1.2.0 | 0 |
69 |
{fbsd-ltconf => patches/fbsd-ltconf}/1.3.0 | 0 |
70 |
{fbsd-ltconf => patches/fbsd-ltconf}/1.4a | 0 |
71 |
{fbsd-ltconf => patches/fbsd-ltconf}/1.4a-GCC3.0 | 0 |
72 |
{fix-relink => patches/fix-relink}/1.4.0 | 0 |
73 |
{fix-relink => patches/fix-relink}/1.4.3 | 0 |
74 |
{fix-relink => patches/fix-relink}/1.5.0 | 0 |
75 |
{gold-conf => patches/gold-conf}/2.2.6 | 0 |
76 |
{hardcode-relink => patches/hardcode-relink}/1.3d | 0 |
77 |
{hardcode => patches/hardcode}/1.3d | 0 |
78 |
{hardcode => patches/hardcode}/2.1b | 0 |
79 |
{hc-flag-ld => patches/hc-flag-ld}/1.5 | 0 |
80 |
{hpux-conf => patches/hpux-conf}/1.5.22-syslibpath | 0 |
81 |
{install-sh => patches/install-sh}/1.5 | 0 |
82 |
{install-sh => patches/install-sh}/1.5.4 | 0 |
83 |
{install-sh => patches/install-sh}/1.5.6 | 0 |
84 |
{irix-ltmain => patches/irix-ltmain}/2.2.6 | 0 |
85 |
{ltmain => patches/ltmain}/1.5 | 0 |
86 |
{max_cmd_len => patches/max_cmd_len}/1.5.0 | 0 |
87 |
{max_cmd_len => patches/max_cmd_len}/1.5.14 | 0 |
88 |
{max_cmd_len => patches/max_cmd_len}/1.5.20 | 0 |
89 |
{mint-conf => patches/mint-conf}/2.2.6 | 0 |
90 |
{no-lc => patches/no-lc}/1.3d | 0 |
91 |
{no-lc => patches/no-lc}/1.5.22 | 0 |
92 |
{nocxx => patches/nocxx}/nocxx-2.64.patch | 0 |
93 |
{nocxx => patches/nocxx}/nocxx.patch | 0 |
94 |
{portage => patches/portage}/1.2.0 | 0 |
95 |
{portage => patches/portage}/1.3.0c | 0 |
96 |
{portage => patches/portage}/1.3.3 | 0 |
97 |
{portage => patches/portage}/1.4.0 | 0 |
98 |
{portage => patches/portage}/1.5.10 | 0 |
99 |
{portage => patches/portage}/2.2 | 0 |
100 |
{ppc64le => patches/ppc64le}/2.4.2 | 0 |
101 |
{ppc64le => patches/ppc64le}/2.4.4 | 0 |
102 |
{relink-prog => patches/relink-prog}/1.3d | 0 |
103 |
{relink-prog => patches/relink-prog}/2.1b | 0 |
104 |
{relink => patches/relink}/1.4.0a | 0 |
105 |
{relink => patches/relink}/1.4.0a-GCC3.0-1 | 0 |
106 |
{relink => patches/relink}/1.4.0a-GCC3.0-2 | 0 |
107 |
{relink => patches/relink}/1.4.1 | 0 |
108 |
{relink => patches/relink}/1.4.2 | 0 |
109 |
{relink => patches/relink}/1.4.3 | 0 |
110 |
{rem-int-dep => patches/rem-int-dep}/1.3.5 | 0 |
111 |
{sed => patches/sed}/1.3.4 | 0 |
112 |
{sed => patches/sed}/1.4.0 | 0 |
113 |
{sed => patches/sed}/1.5.6 | 0 |
114 |
{sol2-conf => patches/sol2-conf}/2.4.2 | 0 |
115 |
{sol2-ltmain => patches/sol2-ltmain}/2.4.2 | 0 |
116 |
{sys-lib-dlsearch => patches/sys-lib-dlsearch}/2.4 | 0 |
117 |
{target-nm => patches/target-nm}/2.4.2 | 0 |
118 |
{test => patches/test}/1.4.0 | 0 |
119 |
{test => patches/test}/1.4.2 | 0 |
120 |
{tmp => patches/tmp}/1.3.5 | 0 |
121 |
{uclibc-conf => patches/uclibc-conf}/1.2.0 | 0 |
122 |
{uclibc-conf => patches/uclibc-conf}/1.3.0c | 0 |
123 |
{uclibc-ltconf => patches/uclibc-ltconf}/1.2.0 | 0 |
124 |
{uclibc-ltconf => patches/uclibc-ltconf}/1.3.0 | 0 |
125 |
115 files changed, 535 insertions(+) |
126 |
|
127 |
diff --git a/Makefile b/Makefile |
128 |
new file mode 100644 |
129 |
index 0000000..05a8b7e |
130 |
--- /dev/null |
131 |
+++ b/Makefile |
132 |
@@ -0,0 +1,47 @@ |
133 |
+# Copyright 1999-2017 Gentoo Foundation |
134 |
+# Distributed under the terms of the GNU General Public License v2 |
135 |
+ |
136 |
+DESTDIR = |
137 |
+prefix = /usr |
138 |
+bindir = $(prefix)/bin |
139 |
+libdirname = lib |
140 |
+datadir = $(prefix)/share |
141 |
+patchdir = $(datadir)/elt-patches |
142 |
+ |
143 |
+all: eltpatch |
144 |
+install: install-bin install-patch |
145 |
+distclean: clean |
146 |
+ |
147 |
+eltpatch: eltpatch.in |
148 |
+ rm -f $@ $@.tmp |
149 |
+ sed -e 's^@ELT_patchdir@^$(patchdir)^' \ |
150 |
+ -e 's^@ELT_libdir@^$(libdirname)^' \ |
151 |
+ $< > $@.tmp |
152 |
+ chmod +x $@.tmp |
153 |
+ mv $@.tmp $@ |
154 |
+ |
155 |
+clean: |
156 |
+ rm -f eltpatch |
157 |
+ |
158 |
+install-bin: eltpatch |
159 |
+ install -d $(DESTDIR)$(bindir) |
160 |
+ install -m0755 $< $(DESTDIR)$(bindir) |
161 |
+ |
162 |
+install-patch: |
163 |
+ install -d $(DESTDIR)$(patchdir) |
164 |
+ cd patches && \ |
165 |
+ for dir in */; do \ |
166 |
+ install -d $(DESTDIR)$(patchdir)/$${dir} || exit 1; \ |
167 |
+ for file in $${dir}/*; do \ |
168 |
+ install -m0644 $${file} $(DESTDIR)$(patchdir)/$${dir} \ |
169 |
+ || exit 1; \ |
170 |
+ done; \ |
171 |
+ done |
172 |
+ |
173 |
+dist: |
174 |
+ rm -f elt-patches-$$(date +%Y%m%d).tar.xz elt-patches-$$(date +%Y%m%d).tar |
175 |
+ git archive -o elt-patches-$$(date +%Y%m%d).tar \ |
176 |
+ --prefix=elt-patches-$$(date +%Y%m%d)/ \ |
177 |
+ --format=tar \ |
178 |
+ HEAD |
179 |
+ xz -9 elt-patches-$$(date +%Y%m%d).tar |
180 |
|
181 |
diff --git a/eltpatch.in b/eltpatch.in |
182 |
new file mode 100644 |
183 |
index 0000000..7dae4bb |
184 |
--- /dev/null |
185 |
+++ b/eltpatch.in |
186 |
@@ -0,0 +1,488 @@ |
187 |
+#!/bin/bash |
188 |
+# Copyright 1999-2017 Gentoo Foundation |
189 |
+# Distributed under the terms of the GNU General Public License v2 |
190 |
+ |
191 |
+source "/lib/gentoo/functions.sh" || exit 1 |
192 |
+ |
193 |
+die() { |
194 |
+ eerror "${@}" |
195 |
+ exit 1 |
196 |
+} |
197 |
+ |
198 |
+# |
199 |
+# See if we can apply $2 on $1, and if so, do it |
200 |
+# |
201 |
+ELT_try_and_apply_patch() { |
202 |
+ local ret=0 |
203 |
+ local file=$1 |
204 |
+ local patch=$2 |
205 |
+ local src=$3 |
206 |
+ local disp="${src} patch" |
207 |
+ local log="${ELT_LOGDIR:-${TMPDIR}}/elibtool.log" |
208 |
+ |
209 |
+ if [[ -z ${_ELT_NOTED_TMP} ]] ; then |
210 |
+ _ELT_NOTED_TMP=true |
211 |
+ printf 'temp patch: %s\n' "${patch}" > "${log}" |
212 |
+ fi |
213 |
+ printf '\nTrying %s\n' "${disp}" >> "${log}" |
214 |
+ |
215 |
+ if [[ ! -e ${file} ]] ; then |
216 |
+ echo "File not found: ${file}" >> "${log}" |
217 |
+ return 1 |
218 |
+ fi |
219 |
+ |
220 |
+ # Save file for permission restoration. `patch` sometimes resets things. |
221 |
+ # Ideally we'd want 'stat -c %a', but stat is highly non portable and we are |
222 |
+ # guaranted to have GNU find, so use that instead. |
223 |
+ local perms="$(find ${file} -maxdepth 0 -printf '%m')" |
224 |
+ # We only support patchlevel of 0 - why worry if its static patches? |
225 |
+ if patch -p0 --dry-run "${file}" "${patch}" >> "${log}" 2>&1 ; then |
226 |
+ einfo " Applying ${disp} ..." |
227 |
+ patch -p0 -g0 --no-backup-if-mismatch "${file}" "${patch}" >> "${log}" 2>&1 |
228 |
+ ret=$? |
229 |
+ ELT_APPLIED_PATCHES="${ELT_APPLIED_PATCHES} ${src}" |
230 |
+ else |
231 |
+ ret=1 |
232 |
+ fi |
233 |
+ chmod "${perms}" "${file}" |
234 |
+ |
235 |
+ return "${ret}" |
236 |
+} |
237 |
+ |
238 |
+# |
239 |
+# Get string version of ltmain.sh or ltconfig (passed as $1) |
240 |
+# |
241 |
+ELT_libtool_version() { |
242 |
+ ( |
243 |
+ unset VERSION |
244 |
+ eval $(grep -e '^[[:space:]]*VERSION=' "$1") |
245 |
+ echo "${VERSION:-0}" |
246 |
+ ) |
247 |
+} |
248 |
+ |
249 |
+# |
250 |
+# Run through the patches in $2 and see if any |
251 |
+# apply to $1 ... |
252 |
+# |
253 |
+ELT_walk_patches() { |
254 |
+ local patch tmp |
255 |
+ local ret=1 |
256 |
+ local file=$1 |
257 |
+ local patch_set=$2 |
258 |
+ local patch_dir="@ELT_patchdir@/${patch_set}" |
259 |
+ local rem_int_dep=$3 |
260 |
+ |
261 |
+ [[ -z ${patch_set} ]] && return 1 |
262 |
+ [[ ! -d ${patch_dir} ]] && return 1 |
263 |
+ |
264 |
+ # Allow patches to use @GENTOO_LIBDIR@ replacements |
265 |
+ local sed_args=( -e "s:@GENTOO_LIBDIR@:@ELT_libdir@:g" ) |
266 |
+ if [[ -n ${rem_int_dep} ]] ; then |
267 |
+ # replace @REM_INT_DEP@ with what was passed |
268 |
+ # to --remove-internal-dep |
269 |
+ sed_args+=( -e "s|@REM_INT_DEP@|${rem_int_dep}|g" ) |
270 |
+ fi |
271 |
+ |
272 |
+ pushd "@ELT_patchdir@" >/dev/null || die "pushd to elt-patch dir failed" |
273 |
+ |
274 |
+ # Go through the patches in reverse order (newer version to older) |
275 |
+ for patch in $(find "${patch_set}" -maxdepth 1 -type f | LC_ALL=C sort -r) ; do |
276 |
+ tmp="${TMPDIR}/libtool-elt.patch" |
277 |
+ sed "${sed_args[@]}" "${patch}" > "${tmp}" || die "sed on patch ${patch} failed" |
278 |
+ if ELT_try_and_apply_patch "${file}" "${tmp}" "${patch}" ; then |
279 |
+ # Break to unwind w/popd rather than return directly |
280 |
+ ret=0 |
281 |
+ break |
282 |
+ fi |
283 |
+ done |
284 |
+ |
285 |
+ popd >/dev/null |
286 |
+ return ${ret} |
287 |
+} |
288 |
+ |
289 |
+# @FUNCTION: elibtoolize |
290 |
+# @USAGE: [dirs] [--portage] [--reverse-deps] [--patch-only] [--remove-internal-dep=xxx] [--shallow] [--no-uclibc] |
291 |
+# @DESCRIPTION: |
292 |
+# Apply a smorgasbord of patches to bundled libtool files. This function |
293 |
+# should always be safe to run. If no directories are specified, then |
294 |
+# ${S} will be searched for appropriate files. |
295 |
+# |
296 |
+# If the --shallow option is used, then only ${S}/ltmain.sh will be patched. |
297 |
+# |
298 |
+# The other options should be avoided in general unless you know what's going on. |
299 |
+elibtoolize() { |
300 |
+ local x |
301 |
+ local dirs=() |
302 |
+ local do_portage="no" |
303 |
+ local do_reversedeps="yes" |
304 |
+ local do_only_patches="no" |
305 |
+ local do_uclibc="yes" |
306 |
+ local deptoremove= |
307 |
+ local do_shallow="no" |
308 |
+ local force="false" |
309 |
+ local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm ppc64le" |
310 |
+ |
311 |
+ for x in "$@" ; do |
312 |
+ case ${x} in |
313 |
+ --portage) |
314 |
+ # Only apply portage patch, and don't |
315 |
+ # 'libtoolize --copy --force' if all patches fail. |
316 |
+ do_portage="yes" |
317 |
+ ;; |
318 |
+ --reverse-deps) |
319 |
+ # Apply the reverse-deps patch |
320 |
+ # http://bugzilla.gnome.org/show_bug.cgi?id=75635 |
321 |
+ do_reversedeps="yes" |
322 |
+ elt_patches+=" fix-relink" |
323 |
+ ;; |
324 |
+ --patch-only) |
325 |
+ # Do not run libtoolize if none of the patches apply .. |
326 |
+ do_only_patches="yes" |
327 |
+ ;; |
328 |
+ --remove-internal-dep=*) |
329 |
+ # We will replace @REM_INT_DEP@ with what is needed |
330 |
+ # in ELT_walk_patches() ... |
331 |
+ deptoremove=${x#--remove-internal-dep=} |
332 |
+ |
333 |
+ # Add the patch for this ... |
334 |
+ [[ -n ${deptoremove} ]] && elt_patches+=" rem-int-dep" |
335 |
+ ;; |
336 |
+ --shallow) |
337 |
+ # Only patch the ltmain.sh in ${S} |
338 |
+ do_shallow="yes" |
339 |
+ ;; |
340 |
+ --no-uclibc) |
341 |
+ do_uclibc="no" |
342 |
+ ;; |
343 |
+ --force) |
344 |
+ force="true" |
345 |
+ ;; |
346 |
+ -*) |
347 |
+ die "Invalid elibtoolize option: ${x}" |
348 |
+ ;; |
349 |
+ *) dirs+=( "${x}" ) |
350 |
+ esac |
351 |
+ done |
352 |
+ |
353 |
+ [[ ${do_uclibc} == "yes" ]] && elt_patches+=" uclibc-conf uclibc-ltconf" |
354 |
+ |
355 |
+ case ${CHOST} in |
356 |
+ *-aix*) elt_patches+=" hardcode aixrtl" ;; #213277 |
357 |
+ *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf" ;; |
358 |
+ *-solaris*) elt_patches+=" sol2-conf sol2-ltmain" ;; |
359 |
+ *-freebsd*) elt_patches+=" fbsd-conf fbsd-ltconf" ;; |
360 |
+ *-hpux*) elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode hardcode-relink relink-prog no-lc" ;; |
361 |
+ *-irix*) elt_patches+=" irix-ltmain" ;; |
362 |
+ *-mint*) elt_patches+=" mint-conf" ;; |
363 |
+ esac |
364 |
+ |
365 |
+ if ${LD} --version 2>&1 | grep -qs 'GNU gold'; then |
366 |
+ elt_patches+=" gold-conf" |
367 |
+ fi |
368 |
+ |
369 |
+ # Find out what dirs to scan. |
370 |
+ if [[ ${do_shallow} == "yes" ]] ; then |
371 |
+ [[ ${#dirs[@]} -ne 0 ]] && die "Using --shallow with explicit dirs doesn't make sense" |
372 |
+ [[ -f ${S}/ltmain.sh || -f ${S}/configure ]] && dirs+=( "${S}" ) |
373 |
+ else |
374 |
+ [[ ${#dirs[@]} -eq 0 ]] && dirs+=( "${S}" ) |
375 |
+ dirs=( $(find "${dirs[@]}" '(' -name ltmain.sh -o -name configure ')' -printf '%h\n' | sort -u) ) |
376 |
+ fi |
377 |
+ |
378 |
+ local d p ret |
379 |
+ for d in "${dirs[@]}" ; do |
380 |
+ ELT_APPLIED_PATCHES= |
381 |
+ |
382 |
+ if [[ -f ${d}/.elibtoolized ]] ; then |
383 |
+ ${force} || continue |
384 |
+ fi |
385 |
+ |
386 |
+ local outfunc="einfo" |
387 |
+ [[ -f ${d}/.elibtoolized ]] && outfunc="ewarn" |
388 |
+ ${outfunc} "Running elibtoolize in: ${d#${WORKDIR}/}/" |
389 |
+ if [[ ${outfunc} == "ewarn" ]] ; then |
390 |
+ ewarn " We've already been run in this tree; you should" |
391 |
+ ewarn " avoid this if possible (perhaps by filing a bug)" |
392 |
+ fi |
393 |
+ |
394 |
+ # patching ltmain.sh |
395 |
+ [[ -f ${d}/ltmain.sh ]] && |
396 |
+ for p in ${elt_patches} ; do |
397 |
+ ret=0 |
398 |
+ |
399 |
+ case ${p} in |
400 |
+ portage) |
401 |
+ # Stupid test to see if its already applied ... |
402 |
+ if ! grep -qs 'We do not want portage' "${d}/ltmain.sh" ; then |
403 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
404 |
+ ret=$? |
405 |
+ fi |
406 |
+ ;; |
407 |
+ rem-int-dep) |
408 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" "${deptoremove}" |
409 |
+ ret=$? |
410 |
+ ;; |
411 |
+ fix-relink) |
412 |
+ # Do not apply if we do not have the relink patch applied ... |
413 |
+ if grep -qs 'inst_prefix_dir' "${d}/ltmain.sh" ; then |
414 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
415 |
+ ret=$? |
416 |
+ fi |
417 |
+ ;; |
418 |
+ max_cmd_len) |
419 |
+ # Do not apply if $max_cmd_len is not used ... |
420 |
+ if grep -qs 'max_cmd_len' "${d}/ltmain.sh" ; then |
421 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
422 |
+ ret=$? |
423 |
+ fi |
424 |
+ ;; |
425 |
+ as-needed) |
426 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
427 |
+ ret=$? |
428 |
+ ;; |
429 |
+ uclibc-ltconf) |
430 |
+ # Newer libtoolize clears ltconfig, as not used anymore |
431 |
+ if [[ -s ${d}/ltconfig ]] ; then |
432 |
+ ELT_walk_patches "${d}/ltconfig" "${p}" |
433 |
+ ret=$? |
434 |
+ fi |
435 |
+ ;; |
436 |
+ fbsd-ltconf) |
437 |
+ if [[ -s ${d}/ltconfig ]] ; then |
438 |
+ ELT_walk_patches "${d}/ltconfig" "${p}" |
439 |
+ ret=$? |
440 |
+ fi |
441 |
+ ;; |
442 |
+ darwin-ltconf) |
443 |
+ # Newer libtoolize clears ltconfig, as not used anymore |
444 |
+ if [[ -s ${d}/ltconfig ]] ; then |
445 |
+ ELT_walk_patches "${d}/ltconfig" "${p}" |
446 |
+ ret=$? |
447 |
+ fi |
448 |
+ ;; |
449 |
+ darwin-ltmain) |
450 |
+ # special case to avoid false positives (failing to apply |
451 |
+ # ltmain.sh path message), newer libtools have this patch |
452 |
+ # built in, so not much to patch around then |
453 |
+ if [[ -e ${d}/ltmain.sh ]] && \ |
454 |
+ ! grep -qs 'verstring="-compatibility_version' "${d}/ltmain.sh" ; then |
455 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
456 |
+ ret=$? |
457 |
+ fi |
458 |
+ ;; |
459 |
+ install-sh) |
460 |
+ ELT_walk_patches "${d}/install-sh" "${p}" |
461 |
+ ret=$? |
462 |
+ ;; |
463 |
+ cross) |
464 |
+ if [[ ${CBUILD:-${CHOST}} != ${CHOST} ]] ; then |
465 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
466 |
+ ret=$? |
467 |
+ fi |
468 |
+ ;; |
469 |
+ *) |
470 |
+ ELT_walk_patches "${d}/ltmain.sh" "${p}" |
471 |
+ ret=$? |
472 |
+ ;; |
473 |
+ esac |
474 |
+ |
475 |
+ if [[ ${ret} -ne 0 ]] ; then |
476 |
+ case ${p} in |
477 |
+ relink) |
478 |
+ local version=$(ELT_libtool_version "${d}/ltmain.sh") |
479 |
+ # Critical patch, but could be applied ... |
480 |
+ # FIXME: Still need a patch for ltmain.sh > 1.4.0 |
481 |
+ if ! grep -qs 'inst_prefix_dir' "${d}/ltmain.sh" && \ |
482 |
+ [[ $(VER_to_int "${version}") -ge $(VER_to_int "1.4.0") ]] ; then |
483 |
+ ewarn " Could not apply relink.patch!" |
484 |
+ fi |
485 |
+ ;; |
486 |
+ portage) |
487 |
+ # Critical patch - for this one we abort, as it can really |
488 |
+ # cause breakage without it applied! |
489 |
+ if [[ ${do_portage} == "yes" ]] ; then |
490 |
+ # Stupid test to see if its already applied ... |
491 |
+ if ! grep -qs 'We do not want portage' "${d}/ltmain.sh" ; then |
492 |
+ echo |
493 |
+ eerror "Portage patch requested, but failed to apply!" |
494 |
+ eerror "Please file a bug report to add a proper patch." |
495 |
+ die "Portage patch requested, but failed to apply!" |
496 |
+ fi |
497 |
+ else |
498 |
+ if grep -qs 'We do not want portage' "${d}/ltmain.sh" ; then |
499 |
+ # ewarn " Portage patch seems to be already applied." |
500 |
+ # ewarn " Please verify that it is not needed." |
501 |
+ : |
502 |
+ else |
503 |
+ local version=$(ELT_libtool_version "${d}"/ltmain.sh) |
504 |
+ echo |
505 |
+ eerror "Portage patch failed to apply (ltmain.sh version ${version})!" |
506 |
+ die "Please file a bug report to add a proper patch." |
507 |
+ fi |
508 |
+ # We do not want to run libtoolize ... |
509 |
+ ELT_APPLIED_PATCHES="portage" |
510 |
+ fi |
511 |
+ ;; |
512 |
+ darwin-*) |
513 |
+ [[ ${CHOST} == *"-darwin"* ]] && ewarn " Darwin patch set '${p}' failed to apply!" |
514 |
+ ;; |
515 |
+ esac |
516 |
+ fi |
517 |
+ done |
518 |
+ |
519 |
+ # makes sense for ltmain.sh patches only |
520 |
+ [[ -f ${d}/ltmain.sh ]] && |
521 |
+ if [[ -z ${ELT_APPLIED_PATCHES} ]] ; then |
522 |
+ if [[ ${do_portage} == "no" && \ |
523 |
+ ${do_reversedeps} == "no" && \ |
524 |
+ ${do_only_patches} == "no" && \ |
525 |
+ ${deptoremove} == "" ]] |
526 |
+ then |
527 |
+ die "Cannot apply any patches, please file a bug about this" |
528 |
+ fi |
529 |
+ fi |
530 |
+ |
531 |
+ # patching configure |
532 |
+ [[ -f ${d}/configure ]] && |
533 |
+ for p in ${elt_patches} ; do |
534 |
+ ret=0 |
535 |
+ |
536 |
+ case ${p} in |
537 |
+ uclibc-conf) |
538 |
+ if grep -qs 'Transform linux' "${d}/configure" ; then |
539 |
+ ELT_walk_patches "${d}/configure" "${p}" |
540 |
+ ret=$? |
541 |
+ fi |
542 |
+ ;; |
543 |
+ fbsd-conf) |
544 |
+ if grep -qs 'version_type=freebsd-' "${d}/configure" ; then |
545 |
+ ELT_walk_patches "${d}/configure" "${p}" |
546 |
+ ret=$? |
547 |
+ fi |
548 |
+ ;; |
549 |
+ darwin-conf) |
550 |
+ if grep -qs '&& echo \.so ||' "${d}/configure" ; then |
551 |
+ ELT_walk_patches "${d}/configure" "${p}" |
552 |
+ ret=$? |
553 |
+ fi |
554 |
+ ;; |
555 |
+ aixrtl|hpux-conf) |
556 |
+ ret=1 |
557 |
+ local subret=0 |
558 |
+ # apply multiple patches as often as they match |
559 |
+ while [[ $subret -eq 0 ]]; do |
560 |
+ subret=1 |
561 |
+ if [[ -e ${d}/configure ]]; then |
562 |
+ ELT_walk_patches "${d}/configure" "${p}" |
563 |
+ subret=$? |
564 |
+ fi |
565 |
+ if [[ $subret -eq 0 ]]; then |
566 |
+ # have at least one patch succeeded. |
567 |
+ ret=0 |
568 |
+ fi |
569 |
+ done |
570 |
+ ;; |
571 |
+ mint-conf|gold-conf|sol2-conf) |
572 |
+ ELT_walk_patches "${d}/configure" "${p}" |
573 |
+ ret=$? |
574 |
+ ;; |
575 |
+ target-nm) |
576 |
+ ELT_walk_patches "${d}/configure" "${p}" |
577 |
+ ret=$? |
578 |
+ ;; |
579 |
+ ppc64le) |
580 |
+ ELT_walk_patches "${d}/configure" "${p}" |
581 |
+ ret=$? |
582 |
+ ;; |
583 |
+ *) |
584 |
+ # ltmain.sh patches are applied above |
585 |
+ ;; |
586 |
+ esac |
587 |
+ |
588 |
+ if [[ ${ret} -ne 0 ]] ; then |
589 |
+ case ${p} in |
590 |
+ uclibc-*) |
591 |
+ [[ ${CHOST} == *-uclibc ]] && ewarn " uClibc patch set '${p}' failed to apply!" |
592 |
+ ;; |
593 |
+ fbsd-*) |
594 |
+ if [[ ${CHOST} == *-freebsd* ]] ; then |
595 |
+ if [[ -z $(grep 'Handle Gentoo/FreeBSD as it was Linux' \ |
596 |
+ "${d}/configure" 2>/dev/null) ]]; then |
597 |
+ die " FreeBSD patch set '${p}' failed to apply!" |
598 |
+ fi |
599 |
+ fi |
600 |
+ ;; |
601 |
+ darwin-*) |
602 |
+ [[ ${CHOST} == *"-darwin"* ]] && ewarn " Darwin patch set '${p}' failed to apply!" |
603 |
+ ;; |
604 |
+ esac |
605 |
+ fi |
606 |
+ done |
607 |
+ |
608 |
+ rm -f "${d}/libtool" |
609 |
+ |
610 |
+ echo "${ELT_APPLIED_PATCHES}" > "${d}/.elibtoolized" |
611 |
+ done |
612 |
+} |
613 |
+ |
614 |
+# char *VER_major(string) |
615 |
+# |
616 |
+# Return the Major (X of X.Y.Z) version |
617 |
+# |
618 |
+VER_major() { |
619 |
+ [[ -z $1 ]] && return 1 |
620 |
+ |
621 |
+ local VER=$@ |
622 |
+ echo "${VER%%[^[:digit:]]*}" |
623 |
+} |
624 |
+ |
625 |
+# char *VER_minor(string) |
626 |
+# |
627 |
+# Return the Minor (Y of X.Y.Z) version |
628 |
+# |
629 |
+VER_minor() { |
630 |
+ [[ -z $1 ]] && return 1 |
631 |
+ |
632 |
+ local VER=$@ |
633 |
+ VER=${VER#*.} |
634 |
+ echo "${VER%%[^[:digit:]]*}" |
635 |
+} |
636 |
+ |
637 |
+# char *VER_micro(string) |
638 |
+# |
639 |
+# Return the Micro (Z of X.Y.Z) version. |
640 |
+# |
641 |
+VER_micro() { |
642 |
+ [[ -z $1 ]] && return 1 |
643 |
+ |
644 |
+ local VER=$@ |
645 |
+ VER=${VER#*.*.} |
646 |
+ echo "${VER%%[^[:digit:]]*}" |
647 |
+} |
648 |
+ |
649 |
+# int VER_to_int(string) |
650 |
+# |
651 |
+# Convert a string type version (2.4.0) to an int (132096) |
652 |
+# for easy compairing or versions ... |
653 |
+# |
654 |
+VER_to_int() { |
655 |
+ [[ -z $1 ]] && return 1 |
656 |
+ |
657 |
+ local VER_MAJOR=$(VER_major "$1") |
658 |
+ local VER_MINOR=$(VER_minor "$1") |
659 |
+ local VER_MICRO=$(VER_micro "$1") |
660 |
+ local VER_int=$(( VER_MAJOR * 65536 + VER_MINOR * 256 + VER_MICRO )) |
661 |
+ |
662 |
+ # We make version 1.0.0 the minimum version we will handle as |
663 |
+ # a sanity check ... if its less, we fail ... |
664 |
+ if [[ ${VER_int} -ge 65536 ]] ; then |
665 |
+ echo "${VER_int}" |
666 |
+ return 0 |
667 |
+ fi |
668 |
+ |
669 |
+ echo 1 |
670 |
+ return 1 |
671 |
+} |
672 |
+ |
673 |
+elibtoolize "${@}" |
674 |
+exit 0 |
675 |
|
676 |
diff --git a/aixrtl/1.5.0-cmds-c b/patches/aixrtl/1.5.0-cmds-c |
677 |
similarity index 100% |
678 |
rename from aixrtl/1.5.0-cmds-c |
679 |
rename to patches/aixrtl/1.5.0-cmds-c |
680 |
|
681 |
diff --git a/aixrtl/1.5.0-cmds-cxx b/patches/aixrtl/1.5.0-cmds-cxx |
682 |
similarity index 100% |
683 |
rename from aixrtl/1.5.0-cmds-cxx |
684 |
rename to patches/aixrtl/1.5.0-cmds-cxx |
685 |
|
686 |
diff --git a/aixrtl/1.5.0-expsym-c b/patches/aixrtl/1.5.0-expsym-c |
687 |
similarity index 100% |
688 |
rename from aixrtl/1.5.0-expsym-c |
689 |
rename to patches/aixrtl/1.5.0-expsym-c |
690 |
|
691 |
diff --git a/aixrtl/1.5.0-expsym-cxx b/patches/aixrtl/1.5.0-expsym-cxx |
692 |
similarity index 100% |
693 |
rename from aixrtl/1.5.0-expsym-cxx |
694 |
rename to patches/aixrtl/1.5.0-expsym-cxx |
695 |
|
696 |
diff --git a/aixrtl/1.5.0-noundef-c b/patches/aixrtl/1.5.0-noundef-c |
697 |
similarity index 100% |
698 |
rename from aixrtl/1.5.0-noundef-c |
699 |
rename to patches/aixrtl/1.5.0-noundef-c |
700 |
|
701 |
diff --git a/aixrtl/1.5.0-noundef-cxx b/patches/aixrtl/1.5.0-noundef-cxx |
702 |
similarity index 100% |
703 |
rename from aixrtl/1.5.0-noundef-cxx |
704 |
rename to patches/aixrtl/1.5.0-noundef-cxx |
705 |
|
706 |
diff --git a/aixrtl/1.5.0-soname b/patches/aixrtl/1.5.0-soname |
707 |
similarity index 100% |
708 |
rename from aixrtl/1.5.0-soname |
709 |
rename to patches/aixrtl/1.5.0-soname |
710 |
|
711 |
diff --git a/aixrtl/1.5.0-usertl-c b/patches/aixrtl/1.5.0-usertl-c |
712 |
similarity index 100% |
713 |
rename from aixrtl/1.5.0-usertl-c |
714 |
rename to patches/aixrtl/1.5.0-usertl-c |
715 |
|
716 |
diff --git a/aixrtl/1.5.0-usertl-cxx b/patches/aixrtl/1.5.0-usertl-cxx |
717 |
similarity index 100% |
718 |
rename from aixrtl/1.5.0-usertl-cxx |
719 |
rename to patches/aixrtl/1.5.0-usertl-cxx |
720 |
|
721 |
diff --git a/aixrtl/1.5.22-cmds-c b/patches/aixrtl/1.5.22-cmds-c |
722 |
similarity index 100% |
723 |
rename from aixrtl/1.5.22-cmds-c |
724 |
rename to patches/aixrtl/1.5.22-cmds-c |
725 |
|
726 |
diff --git a/aixrtl/1.5.22-cmds-cxx b/patches/aixrtl/1.5.22-cmds-cxx |
727 |
similarity index 100% |
728 |
rename from aixrtl/1.5.22-cmds-cxx |
729 |
rename to patches/aixrtl/1.5.22-cmds-cxx |
730 |
|
731 |
diff --git a/aixrtl/2.0.0-fpic-c b/patches/aixrtl/2.0.0-fpic-c |
732 |
similarity index 100% |
733 |
rename from aixrtl/2.0.0-fpic-c |
734 |
rename to patches/aixrtl/2.0.0-fpic-c |
735 |
|
736 |
diff --git a/aixrtl/2.0.0-fpic-cxx b/patches/aixrtl/2.0.0-fpic-cxx |
737 |
similarity index 100% |
738 |
rename from aixrtl/2.0.0-fpic-cxx |
739 |
rename to patches/aixrtl/2.0.0-fpic-cxx |
740 |
|
741 |
diff --git a/aixrtl/2.2.0-cmds-c b/patches/aixrtl/2.2.0-cmds-c |
742 |
similarity index 100% |
743 |
rename from aixrtl/2.2.0-cmds-c |
744 |
rename to patches/aixrtl/2.2.0-cmds-c |
745 |
|
746 |
diff --git a/aixrtl/2.2.0-cmds-cxx b/patches/aixrtl/2.2.0-cmds-cxx |
747 |
similarity index 100% |
748 |
rename from aixrtl/2.2.0-cmds-cxx |
749 |
rename to patches/aixrtl/2.2.0-cmds-cxx |
750 |
|
751 |
diff --git a/aixrtl/2.2.0-expsym-c b/patches/aixrtl/2.2.0-expsym-c |
752 |
similarity index 100% |
753 |
rename from aixrtl/2.2.0-expsym-c |
754 |
rename to patches/aixrtl/2.2.0-expsym-c |
755 |
|
756 |
diff --git a/aixrtl/2.2.0-expsym-cxx b/patches/aixrtl/2.2.0-expsym-cxx |
757 |
similarity index 100% |
758 |
rename from aixrtl/2.2.0-expsym-cxx |
759 |
rename to patches/aixrtl/2.2.0-expsym-cxx |
760 |
|
761 |
diff --git a/aixrtl/2.2.0-noundef-c b/patches/aixrtl/2.2.0-noundef-c |
762 |
similarity index 100% |
763 |
rename from aixrtl/2.2.0-noundef-c |
764 |
rename to patches/aixrtl/2.2.0-noundef-c |
765 |
|
766 |
diff --git a/aixrtl/2.2.0-noundef-cxx b/patches/aixrtl/2.2.0-noundef-cxx |
767 |
similarity index 100% |
768 |
rename from aixrtl/2.2.0-noundef-cxx |
769 |
rename to patches/aixrtl/2.2.0-noundef-cxx |
770 |
|
771 |
diff --git a/aixrtl/2.2.0-usertl-cxx b/patches/aixrtl/2.2.0-usertl-cxx |
772 |
similarity index 100% |
773 |
rename from aixrtl/2.2.0-usertl-cxx |
774 |
rename to patches/aixrtl/2.2.0-usertl-cxx |
775 |
|
776 |
diff --git a/aixrtl/2.2.8-cmds-c b/patches/aixrtl/2.2.8-cmds-c |
777 |
similarity index 100% |
778 |
rename from aixrtl/2.2.8-cmds-c |
779 |
rename to patches/aixrtl/2.2.8-cmds-c |
780 |
|
781 |
diff --git a/aixrtl/2.2.8-cmds-cxx b/patches/aixrtl/2.2.8-cmds-cxx |
782 |
similarity index 100% |
783 |
rename from aixrtl/2.2.8-cmds-cxx |
784 |
rename to patches/aixrtl/2.2.8-cmds-cxx |
785 |
|
786 |
diff --git a/aixrtl/2.4.0-expsym-c b/patches/aixrtl/2.4.0-expsym-c |
787 |
similarity index 100% |
788 |
rename from aixrtl/2.4.0-expsym-c |
789 |
rename to patches/aixrtl/2.4.0-expsym-c |
790 |
|
791 |
diff --git a/aixrtl/2.4.0-expsym-cxx b/patches/aixrtl/2.4.0-expsym-cxx |
792 |
similarity index 100% |
793 |
rename from aixrtl/2.4.0-expsym-cxx |
794 |
rename to patches/aixrtl/2.4.0-expsym-cxx |
795 |
|
796 |
diff --git a/aixrtl/2.4.2.418-cmds-c b/patches/aixrtl/2.4.2.418-cmds-c |
797 |
similarity index 100% |
798 |
rename from aixrtl/2.4.2.418-cmds-c |
799 |
rename to patches/aixrtl/2.4.2.418-cmds-c |
800 |
|
801 |
diff --git a/aixrtl/2.4.2.418-cmds-cxx b/patches/aixrtl/2.4.2.418-cmds-cxx |
802 |
similarity index 100% |
803 |
rename from aixrtl/2.4.2.418-cmds-cxx |
804 |
rename to patches/aixrtl/2.4.2.418-cmds-cxx |
805 |
|
806 |
diff --git a/aixrtl/2.4.2.418-soname b/patches/aixrtl/2.4.2.418-soname |
807 |
similarity index 100% |
808 |
rename from aixrtl/2.4.2.418-soname |
809 |
rename to patches/aixrtl/2.4.2.418-soname |
810 |
|
811 |
diff --git a/aixrtl/2.4.4-expsym-c b/patches/aixrtl/2.4.4-expsym-c |
812 |
similarity index 100% |
813 |
rename from aixrtl/2.4.4-expsym-c |
814 |
rename to patches/aixrtl/2.4.4-expsym-c |
815 |
|
816 |
diff --git a/aixrtl/2.4.4-expsym-cxx b/patches/aixrtl/2.4.4-expsym-cxx |
817 |
similarity index 100% |
818 |
rename from aixrtl/2.4.4-expsym-cxx |
819 |
rename to patches/aixrtl/2.4.4-expsym-cxx |
820 |
|
821 |
diff --git a/aixrtl/2.4.4-with-svr4 b/patches/aixrtl/2.4.4-with-svr4 |
822 |
similarity index 100% |
823 |
rename from aixrtl/2.4.4-with-svr4 |
824 |
rename to patches/aixrtl/2.4.4-with-svr4 |
825 |
|
826 |
diff --git a/as-needed/1.5 b/patches/as-needed/1.5 |
827 |
similarity index 100% |
828 |
rename from as-needed/1.5 |
829 |
rename to patches/as-needed/1.5 |
830 |
|
831 |
diff --git a/as-needed/1.5.26 b/patches/as-needed/1.5.26 |
832 |
similarity index 100% |
833 |
rename from as-needed/1.5.26 |
834 |
rename to patches/as-needed/1.5.26 |
835 |
|
836 |
diff --git a/as-needed/2.2.6 b/patches/as-needed/2.2.6 |
837 |
similarity index 100% |
838 |
rename from as-needed/2.2.6 |
839 |
rename to patches/as-needed/2.2.6 |
840 |
|
841 |
diff --git a/as-needed/2.4.2 b/patches/as-needed/2.4.2 |
842 |
similarity index 100% |
843 |
rename from as-needed/2.4.2 |
844 |
rename to patches/as-needed/2.4.2 |
845 |
|
846 |
diff --git a/as-needed/2.4.3 b/patches/as-needed/2.4.3 |
847 |
similarity index 100% |
848 |
rename from as-needed/2.4.3 |
849 |
rename to patches/as-needed/2.4.3 |
850 |
|
851 |
diff --git a/cross/2.2 b/patches/cross/2.2 |
852 |
similarity index 100% |
853 |
rename from cross/2.2 |
854 |
rename to patches/cross/2.2 |
855 |
|
856 |
diff --git a/cross/2.4 b/patches/cross/2.4 |
857 |
similarity index 100% |
858 |
rename from cross/2.4 |
859 |
rename to patches/cross/2.4 |
860 |
|
861 |
diff --git a/cross/2.4.3 b/patches/cross/2.4.3 |
862 |
similarity index 100% |
863 |
rename from cross/2.4.3 |
864 |
rename to patches/cross/2.4.3 |
865 |
|
866 |
diff --git a/darwin-conf/1.5 b/patches/darwin-conf/1.5 |
867 |
similarity index 100% |
868 |
rename from darwin-conf/1.5 |
869 |
rename to patches/darwin-conf/1.5 |
870 |
|
871 |
diff --git a/darwin-conf/1.5b b/patches/darwin-conf/1.5b |
872 |
similarity index 100% |
873 |
rename from darwin-conf/1.5b |
874 |
rename to patches/darwin-conf/1.5b |
875 |
|
876 |
diff --git a/darwin-conf/2.2.4 b/patches/darwin-conf/2.2.4 |
877 |
similarity index 100% |
878 |
rename from darwin-conf/2.2.4 |
879 |
rename to patches/darwin-conf/2.2.4 |
880 |
|
881 |
diff --git a/darwin-conf/2.2.6 b/patches/darwin-conf/2.2.6 |
882 |
similarity index 100% |
883 |
rename from darwin-conf/2.2.6 |
884 |
rename to patches/darwin-conf/2.2.6 |
885 |
|
886 |
diff --git a/darwin-conf/2.4.6 b/patches/darwin-conf/2.4.6 |
887 |
similarity index 100% |
888 |
rename from darwin-conf/2.4.6 |
889 |
rename to patches/darwin-conf/2.4.6 |
890 |
|
891 |
diff --git a/darwin-ltconf/1.2.0 b/patches/darwin-ltconf/1.2.0 |
892 |
similarity index 100% |
893 |
rename from darwin-ltconf/1.2.0 |
894 |
rename to patches/darwin-ltconf/1.2.0 |
895 |
|
896 |
diff --git a/darwin-ltconf/1.3.0 b/patches/darwin-ltconf/1.3.0 |
897 |
similarity index 100% |
898 |
rename from darwin-ltconf/1.3.0 |
899 |
rename to patches/darwin-ltconf/1.3.0 |
900 |
|
901 |
diff --git a/darwin-ltmain/1.2.0 b/patches/darwin-ltmain/1.2.0 |
902 |
similarity index 100% |
903 |
rename from darwin-ltmain/1.2.0 |
904 |
rename to patches/darwin-ltmain/1.2.0 |
905 |
|
906 |
diff --git a/darwin-ltmain/1.3.0 b/patches/darwin-ltmain/1.3.0 |
907 |
similarity index 100% |
908 |
rename from darwin-ltmain/1.3.0 |
909 |
rename to patches/darwin-ltmain/1.3.0 |
910 |
|
911 |
diff --git a/deplibs/1.5 b/patches/deplibs/1.5 |
912 |
similarity index 100% |
913 |
rename from deplibs/1.5 |
914 |
rename to patches/deplibs/1.5 |
915 |
|
916 |
diff --git a/deplibs/2.1b b/patches/deplibs/2.1b |
917 |
similarity index 100% |
918 |
rename from deplibs/2.1b |
919 |
rename to patches/deplibs/2.1b |
920 |
|
921 |
diff --git a/fbsd-conf/00broken-libglade b/patches/fbsd-conf/00broken-libglade |
922 |
similarity index 100% |
923 |
rename from fbsd-conf/00broken-libglade |
924 |
rename to patches/fbsd-conf/00broken-libglade |
925 |
|
926 |
diff --git a/fbsd-conf/1.4.0 b/patches/fbsd-conf/1.4.0 |
927 |
similarity index 100% |
928 |
rename from fbsd-conf/1.4.0 |
929 |
rename to patches/fbsd-conf/1.4.0 |
930 |
|
931 |
diff --git a/fbsd-conf/1.5.10 b/patches/fbsd-conf/1.5.10 |
932 |
similarity index 100% |
933 |
rename from fbsd-conf/1.5.10 |
934 |
rename to patches/fbsd-conf/1.5.10 |
935 |
|
936 |
diff --git a/fbsd-conf/1.5.18 b/patches/fbsd-conf/1.5.18 |
937 |
similarity index 100% |
938 |
rename from fbsd-conf/1.5.18 |
939 |
rename to patches/fbsd-conf/1.5.18 |
940 |
|
941 |
diff --git a/fbsd-conf/1.5.20 b/patches/fbsd-conf/1.5.20 |
942 |
similarity index 100% |
943 |
rename from fbsd-conf/1.5.20 |
944 |
rename to patches/fbsd-conf/1.5.20 |
945 |
|
946 |
diff --git a/fbsd-conf/1.5.20b b/patches/fbsd-conf/1.5.20b |
947 |
similarity index 100% |
948 |
rename from fbsd-conf/1.5.20b |
949 |
rename to patches/fbsd-conf/1.5.20b |
950 |
|
951 |
diff --git a/fbsd-conf/1.9f b/patches/fbsd-conf/1.9f |
952 |
similarity index 100% |
953 |
rename from fbsd-conf/1.9f |
954 |
rename to patches/fbsd-conf/1.9f |
955 |
|
956 |
diff --git a/fbsd-ltconf/1.2.0 b/patches/fbsd-ltconf/1.2.0 |
957 |
similarity index 100% |
958 |
rename from fbsd-ltconf/1.2.0 |
959 |
rename to patches/fbsd-ltconf/1.2.0 |
960 |
|
961 |
diff --git a/fbsd-ltconf/1.3.0 b/patches/fbsd-ltconf/1.3.0 |
962 |
similarity index 100% |
963 |
rename from fbsd-ltconf/1.3.0 |
964 |
rename to patches/fbsd-ltconf/1.3.0 |
965 |
|
966 |
diff --git a/fbsd-ltconf/1.4a b/patches/fbsd-ltconf/1.4a |
967 |
similarity index 100% |
968 |
rename from fbsd-ltconf/1.4a |
969 |
rename to patches/fbsd-ltconf/1.4a |
970 |
|
971 |
diff --git a/fbsd-ltconf/1.4a-GCC3.0 b/patches/fbsd-ltconf/1.4a-GCC3.0 |
972 |
similarity index 100% |
973 |
rename from fbsd-ltconf/1.4a-GCC3.0 |
974 |
rename to patches/fbsd-ltconf/1.4a-GCC3.0 |
975 |
|
976 |
diff --git a/fix-relink/1.4.0 b/patches/fix-relink/1.4.0 |
977 |
similarity index 100% |
978 |
rename from fix-relink/1.4.0 |
979 |
rename to patches/fix-relink/1.4.0 |
980 |
|
981 |
diff --git a/fix-relink/1.4.3 b/patches/fix-relink/1.4.3 |
982 |
similarity index 100% |
983 |
rename from fix-relink/1.4.3 |
984 |
rename to patches/fix-relink/1.4.3 |
985 |
|
986 |
diff --git a/fix-relink/1.5.0 b/patches/fix-relink/1.5.0 |
987 |
similarity index 100% |
988 |
rename from fix-relink/1.5.0 |
989 |
rename to patches/fix-relink/1.5.0 |
990 |
|
991 |
diff --git a/gold-conf/2.2.6 b/patches/gold-conf/2.2.6 |
992 |
similarity index 100% |
993 |
rename from gold-conf/2.2.6 |
994 |
rename to patches/gold-conf/2.2.6 |
995 |
|
996 |
diff --git a/hardcode-relink/1.3d b/patches/hardcode-relink/1.3d |
997 |
similarity index 100% |
998 |
rename from hardcode-relink/1.3d |
999 |
rename to patches/hardcode-relink/1.3d |
1000 |
|
1001 |
diff --git a/hardcode/1.3d b/patches/hardcode/1.3d |
1002 |
similarity index 100% |
1003 |
rename from hardcode/1.3d |
1004 |
rename to patches/hardcode/1.3d |
1005 |
|
1006 |
diff --git a/hardcode/2.1b b/patches/hardcode/2.1b |
1007 |
similarity index 100% |
1008 |
rename from hardcode/2.1b |
1009 |
rename to patches/hardcode/2.1b |
1010 |
|
1011 |
diff --git a/hc-flag-ld/1.5 b/patches/hc-flag-ld/1.5 |
1012 |
similarity index 100% |
1013 |
rename from hc-flag-ld/1.5 |
1014 |
rename to patches/hc-flag-ld/1.5 |
1015 |
|
1016 |
diff --git a/hpux-conf/1.5.22-syslibpath b/patches/hpux-conf/1.5.22-syslibpath |
1017 |
similarity index 100% |
1018 |
rename from hpux-conf/1.5.22-syslibpath |
1019 |
rename to patches/hpux-conf/1.5.22-syslibpath |
1020 |
|
1021 |
diff --git a/install-sh/1.5 b/patches/install-sh/1.5 |
1022 |
similarity index 100% |
1023 |
rename from install-sh/1.5 |
1024 |
rename to patches/install-sh/1.5 |
1025 |
|
1026 |
diff --git a/install-sh/1.5.4 b/patches/install-sh/1.5.4 |
1027 |
similarity index 100% |
1028 |
rename from install-sh/1.5.4 |
1029 |
rename to patches/install-sh/1.5.4 |
1030 |
|
1031 |
diff --git a/install-sh/1.5.6 b/patches/install-sh/1.5.6 |
1032 |
similarity index 100% |
1033 |
rename from install-sh/1.5.6 |
1034 |
rename to patches/install-sh/1.5.6 |
1035 |
|
1036 |
diff --git a/irix-ltmain/2.2.6 b/patches/irix-ltmain/2.2.6 |
1037 |
similarity index 100% |
1038 |
rename from irix-ltmain/2.2.6 |
1039 |
rename to patches/irix-ltmain/2.2.6 |
1040 |
|
1041 |
diff --git a/ltmain/1.5 b/patches/ltmain/1.5 |
1042 |
similarity index 100% |
1043 |
rename from ltmain/1.5 |
1044 |
rename to patches/ltmain/1.5 |
1045 |
|
1046 |
diff --git a/max_cmd_len/1.5.0 b/patches/max_cmd_len/1.5.0 |
1047 |
similarity index 100% |
1048 |
rename from max_cmd_len/1.5.0 |
1049 |
rename to patches/max_cmd_len/1.5.0 |
1050 |
|
1051 |
diff --git a/max_cmd_len/1.5.14 b/patches/max_cmd_len/1.5.14 |
1052 |
similarity index 100% |
1053 |
rename from max_cmd_len/1.5.14 |
1054 |
rename to patches/max_cmd_len/1.5.14 |
1055 |
|
1056 |
diff --git a/max_cmd_len/1.5.20 b/patches/max_cmd_len/1.5.20 |
1057 |
similarity index 100% |
1058 |
rename from max_cmd_len/1.5.20 |
1059 |
rename to patches/max_cmd_len/1.5.20 |
1060 |
|
1061 |
diff --git a/mint-conf/2.2.6 b/patches/mint-conf/2.2.6 |
1062 |
similarity index 100% |
1063 |
rename from mint-conf/2.2.6 |
1064 |
rename to patches/mint-conf/2.2.6 |
1065 |
|
1066 |
diff --git a/no-lc/1.3d b/patches/no-lc/1.3d |
1067 |
similarity index 100% |
1068 |
rename from no-lc/1.3d |
1069 |
rename to patches/no-lc/1.3d |
1070 |
|
1071 |
diff --git a/no-lc/1.5.22 b/patches/no-lc/1.5.22 |
1072 |
similarity index 100% |
1073 |
rename from no-lc/1.5.22 |
1074 |
rename to patches/no-lc/1.5.22 |
1075 |
|
1076 |
diff --git a/nocxx/nocxx-2.64.patch b/patches/nocxx/nocxx-2.64.patch |
1077 |
similarity index 100% |
1078 |
rename from nocxx/nocxx-2.64.patch |
1079 |
rename to patches/nocxx/nocxx-2.64.patch |
1080 |
|
1081 |
diff --git a/nocxx/nocxx.patch b/patches/nocxx/nocxx.patch |
1082 |
similarity index 100% |
1083 |
rename from nocxx/nocxx.patch |
1084 |
rename to patches/nocxx/nocxx.patch |
1085 |
|
1086 |
diff --git a/portage/1.2.0 b/patches/portage/1.2.0 |
1087 |
similarity index 100% |
1088 |
rename from portage/1.2.0 |
1089 |
rename to patches/portage/1.2.0 |
1090 |
|
1091 |
diff --git a/portage/1.3.0c b/patches/portage/1.3.0c |
1092 |
similarity index 100% |
1093 |
rename from portage/1.3.0c |
1094 |
rename to patches/portage/1.3.0c |
1095 |
|
1096 |
diff --git a/portage/1.3.3 b/patches/portage/1.3.3 |
1097 |
similarity index 100% |
1098 |
rename from portage/1.3.3 |
1099 |
rename to patches/portage/1.3.3 |
1100 |
|
1101 |
diff --git a/portage/1.4.0 b/patches/portage/1.4.0 |
1102 |
similarity index 100% |
1103 |
rename from portage/1.4.0 |
1104 |
rename to patches/portage/1.4.0 |
1105 |
|
1106 |
diff --git a/portage/1.5.10 b/patches/portage/1.5.10 |
1107 |
similarity index 100% |
1108 |
rename from portage/1.5.10 |
1109 |
rename to patches/portage/1.5.10 |
1110 |
|
1111 |
diff --git a/portage/2.2 b/patches/portage/2.2 |
1112 |
similarity index 100% |
1113 |
rename from portage/2.2 |
1114 |
rename to patches/portage/2.2 |
1115 |
|
1116 |
diff --git a/ppc64le/2.4.2 b/patches/ppc64le/2.4.2 |
1117 |
similarity index 100% |
1118 |
rename from ppc64le/2.4.2 |
1119 |
rename to patches/ppc64le/2.4.2 |
1120 |
|
1121 |
diff --git a/ppc64le/2.4.4 b/patches/ppc64le/2.4.4 |
1122 |
similarity index 100% |
1123 |
rename from ppc64le/2.4.4 |
1124 |
rename to patches/ppc64le/2.4.4 |
1125 |
|
1126 |
diff --git a/relink-prog/1.3d b/patches/relink-prog/1.3d |
1127 |
similarity index 100% |
1128 |
rename from relink-prog/1.3d |
1129 |
rename to patches/relink-prog/1.3d |
1130 |
|
1131 |
diff --git a/relink-prog/2.1b b/patches/relink-prog/2.1b |
1132 |
similarity index 100% |
1133 |
rename from relink-prog/2.1b |
1134 |
rename to patches/relink-prog/2.1b |
1135 |
|
1136 |
diff --git a/relink/1.4.0a b/patches/relink/1.4.0a |
1137 |
similarity index 100% |
1138 |
rename from relink/1.4.0a |
1139 |
rename to patches/relink/1.4.0a |
1140 |
|
1141 |
diff --git a/relink/1.4.0a-GCC3.0-1 b/patches/relink/1.4.0a-GCC3.0-1 |
1142 |
similarity index 100% |
1143 |
rename from relink/1.4.0a-GCC3.0-1 |
1144 |
rename to patches/relink/1.4.0a-GCC3.0-1 |
1145 |
|
1146 |
diff --git a/relink/1.4.0a-GCC3.0-2 b/patches/relink/1.4.0a-GCC3.0-2 |
1147 |
similarity index 100% |
1148 |
rename from relink/1.4.0a-GCC3.0-2 |
1149 |
rename to patches/relink/1.4.0a-GCC3.0-2 |
1150 |
|
1151 |
diff --git a/relink/1.4.1 b/patches/relink/1.4.1 |
1152 |
similarity index 100% |
1153 |
rename from relink/1.4.1 |
1154 |
rename to patches/relink/1.4.1 |
1155 |
|
1156 |
diff --git a/relink/1.4.2 b/patches/relink/1.4.2 |
1157 |
similarity index 100% |
1158 |
rename from relink/1.4.2 |
1159 |
rename to patches/relink/1.4.2 |
1160 |
|
1161 |
diff --git a/relink/1.4.3 b/patches/relink/1.4.3 |
1162 |
similarity index 100% |
1163 |
rename from relink/1.4.3 |
1164 |
rename to patches/relink/1.4.3 |
1165 |
|
1166 |
diff --git a/rem-int-dep/1.3.5 b/patches/rem-int-dep/1.3.5 |
1167 |
similarity index 100% |
1168 |
rename from rem-int-dep/1.3.5 |
1169 |
rename to patches/rem-int-dep/1.3.5 |
1170 |
|
1171 |
diff --git a/sed/1.3.4 b/patches/sed/1.3.4 |
1172 |
similarity index 100% |
1173 |
rename from sed/1.3.4 |
1174 |
rename to patches/sed/1.3.4 |
1175 |
|
1176 |
diff --git a/sed/1.4.0 b/patches/sed/1.4.0 |
1177 |
similarity index 100% |
1178 |
rename from sed/1.4.0 |
1179 |
rename to patches/sed/1.4.0 |
1180 |
|
1181 |
diff --git a/sed/1.5.6 b/patches/sed/1.5.6 |
1182 |
similarity index 100% |
1183 |
rename from sed/1.5.6 |
1184 |
rename to patches/sed/1.5.6 |
1185 |
|
1186 |
diff --git a/sol2-conf/2.4.2 b/patches/sol2-conf/2.4.2 |
1187 |
similarity index 100% |
1188 |
rename from sol2-conf/2.4.2 |
1189 |
rename to patches/sol2-conf/2.4.2 |
1190 |
|
1191 |
diff --git a/sol2-ltmain/2.4.2 b/patches/sol2-ltmain/2.4.2 |
1192 |
similarity index 100% |
1193 |
rename from sol2-ltmain/2.4.2 |
1194 |
rename to patches/sol2-ltmain/2.4.2 |
1195 |
|
1196 |
diff --git a/sys-lib-dlsearch/2.4 b/patches/sys-lib-dlsearch/2.4 |
1197 |
similarity index 100% |
1198 |
rename from sys-lib-dlsearch/2.4 |
1199 |
rename to patches/sys-lib-dlsearch/2.4 |
1200 |
|
1201 |
diff --git a/target-nm/2.4.2 b/patches/target-nm/2.4.2 |
1202 |
similarity index 100% |
1203 |
rename from target-nm/2.4.2 |
1204 |
rename to patches/target-nm/2.4.2 |
1205 |
|
1206 |
diff --git a/test/1.4.0 b/patches/test/1.4.0 |
1207 |
similarity index 100% |
1208 |
rename from test/1.4.0 |
1209 |
rename to patches/test/1.4.0 |
1210 |
|
1211 |
diff --git a/test/1.4.2 b/patches/test/1.4.2 |
1212 |
similarity index 100% |
1213 |
rename from test/1.4.2 |
1214 |
rename to patches/test/1.4.2 |
1215 |
|
1216 |
diff --git a/tmp/1.3.5 b/patches/tmp/1.3.5 |
1217 |
similarity index 100% |
1218 |
rename from tmp/1.3.5 |
1219 |
rename to patches/tmp/1.3.5 |
1220 |
|
1221 |
diff --git a/uclibc-conf/1.2.0 b/patches/uclibc-conf/1.2.0 |
1222 |
similarity index 100% |
1223 |
rename from uclibc-conf/1.2.0 |
1224 |
rename to patches/uclibc-conf/1.2.0 |
1225 |
|
1226 |
diff --git a/uclibc-conf/1.3.0c b/patches/uclibc-conf/1.3.0c |
1227 |
similarity index 100% |
1228 |
rename from uclibc-conf/1.3.0c |
1229 |
rename to patches/uclibc-conf/1.3.0c |
1230 |
|
1231 |
diff --git a/uclibc-ltconf/1.2.0 b/patches/uclibc-ltconf/1.2.0 |
1232 |
similarity index 100% |
1233 |
rename from uclibc-ltconf/1.2.0 |
1234 |
rename to patches/uclibc-ltconf/1.2.0 |
1235 |
|
1236 |
diff --git a/uclibc-ltconf/1.3.0 b/patches/uclibc-ltconf/1.3.0 |
1237 |
similarity index 100% |
1238 |
rename from uclibc-ltconf/1.3.0 |
1239 |
rename to patches/uclibc-ltconf/1.3.0 |