Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/crossdev/files: crossdev digest-crossdev-0.9.18-r6
Date: Sun, 30 Dec 2007 17:33:54
Message-Id: E1J922n-00059h-7V@stork.gentoo.org
1 vapier 07/12/30 17:33:49
2
3 Modified: crossdev
4 Added: digest-crossdev-0.9.18-r6
5 Log:
6 If a target w/out a libc is selected, then error out while attempting a step that requires a libc.
7 (Portage version: 2.1.4_rc11, RepoMan options: --force)
8
9 Revision Changes Path
10 1.101 sys-devel/crossdev/files/crossdev
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/crossdev/files/crossdev?rev=1.101&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/crossdev/files/crossdev?rev=1.101&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/crossdev/files/crossdev?r1=1.100&r2=1.101
15
16 Index: crossdev
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v
19 retrieving revision 1.100
20 retrieving revision 1.101
21 diff -u -r1.100 -r1.101
22 --- crossdev 4 Nov 2007 03:01:55 -0000 1.100
23 +++ crossdev 30 Dec 2007 17:33:48 -0000 1.101
24 @@ -1,7 +1,7 @@
25 #!/bin/bash
26 # Copyright 1999-2007 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.100 2007/11/04 03:01:55 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.101 2007/12/30 17:33:48 vapier Exp $
30
31 cd /
32 umask 0022 #159111
33 @@ -308,11 +308,11 @@
34 && c=50 \
35 || c=${c##* }
36 fi
37 - local ext=${1:- _ - ~ -} br=""
38 - while [[ ${#br} -lt ${c} ]] ; do
39 - br=${br}${ext}
40 - done
41 - echo "${br:0:${c}}"
42 + local ext=${1:- _ - ~ -}
43 + local sext=${ext//?/ }
44 + local br=$(printf "%$((c + ${#ext}))s")
45 + local banner=${br//${sext}/${ext}}
46 + echo "${banner:0:${c}}"
47 }
48
49 ##################
50 @@ -612,6 +612,7 @@
51 if with_headers ; then
52 USE="${KUSE} ${USE}" CROSSCOMPILE_OPTS="headers-only" \
53 doemerge ${KPKG} ${KPKG}-quick
54 +[[ -n ${LPKG} ]] && \
55 USE="${LUSE} ${USE}" CROSSCOMPILE_OPTS="headers-only" \
56 doemerge ${LPKG} ${LPKG}-headers
57 fi
58 @@ -624,6 +625,7 @@
59 doemerge ${KPKG}
60
61 is_s3 || exit 0
62 +[[ -z ${LPKG} ]] && die "Invalid target '${CTARGET}': unknown libc"
63 set_eopts_on_pkg_status ${LPKG} crosscompile_opts_headers-only
64 USE="${LUSE} ${USE}" CROSSCOMPILE_OPTS="" \
65 doemerge ${LPKG}
66
67
68
69 1.1 sys-devel/crossdev/files/digest-crossdev-0.9.18-r6
70
71 <<Binary file>>
72
73
74 --
75 gentoo-commits@g.o mailing list