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-libs/glibc/files/eblits: src_unpack.eblit
Date: Sat, 29 Nov 2008 21:03:36
Message-Id: E1L6WyU-0002G4-9b@stork.gentoo.org
1 vapier 08/11/29 21:03:34
2
3 Modified: src_unpack.eblit
4 Log:
5 disable nptl checks for headers-only builds
6
7 Revision Changes Path
8 1.6 sys-libs/glibc/files/eblits/src_unpack.eblit
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.6&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?rev=1.6&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit?r1=1.5&r2=1.6
13
14 Index: src_unpack.eblit
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v
17 retrieving revision 1.5
18 retrieving revision 1.6
19 diff -u -r1.5 -r1.6
20 --- src_unpack.eblit 8 Jun 2008 00:49:09 -0000 1.5
21 +++ src_unpack.eblit 29 Nov 2008 21:03:34 -0000 1.6
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.5 2008/06/08 00:49:09 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_unpack.eblit,v 1.6 2008/11/29 21:03:34 vapier Exp $
27
28 check_kheader_version() {
29 local version=$(
30 @@ -12,6 +12,9 @@
31 }
32
33 check_nptl_support() {
34 + # don't care about the compiler here as we arent using it
35 + just_headers && return
36 +
37 local min_kernel_version=$(KV_to_int "${NPTL_KERN_VER}")
38
39 ebegin "Checking gcc for __thread support"
40 @@ -33,8 +36,6 @@
41 fi
42 fi
43
44 - # Building fails with too low linux-headers
45 - just_headers && return
46 ebegin "Checking linux-headers version (>=${NPTL_KERN_VER})"
47 if ! eend $(check_kheader_version "${min_kernel_version}" ; echo $?) ; then
48 echo