Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 18 years ago
parent
commit
3b9df15235
5 changed files with 14 additions and 14 deletions
  1. +1
    -1
      package/base/glibc/config-400.in
  2. +7
    -7
      package/base/glibc/glibc.conf
  3. +6
    -6
      package/base/glibc/glibc.desc
  4. +0
    -0
      package/base/glibc/glibc25/gcc_eh.patch.cross
  5. +0
    -0
      package/base/glibc/glibc25/ldconfig-glob.patch

+ 1
- 1
package/base/glibc/config-400.in

@ -38,7 +38,7 @@ then
choice ROCKCFG_PKG_GLIBC_BRANCH glibc23 \
glibc23 'Use glibc-2.3.x (recommended)' \
glibc24 'Use glibc-2.4 (for testing)' \
glibc25 'Use glibc-2.5 (for testing)' \
glibc22 'Use glibc-2.2.x'
if [ "$ROCKCFG_PKG_GLIBC_BRANCH" = "glibc22" ] ; then

+ 7
- 7
package/base/glibc/glibc.conf

@ -28,8 +28,8 @@ pkg_glibc_cross=""
case "$xpkg" in
glibc??-cross-*)
if [[ $xpkg = *24 ]] ; then
echo_error "Cross package not yet supported by glibc24. Use glibc23!"
if [[ $xpkg = *25 ]] ; then
echo_error "Cross package not yet supported by glibc25. Use glibc23!"
exit 1
fi
pkg_glibc_cross="${xpkg#glibc*-cross-}"
@ -51,7 +51,7 @@ pkg_glibc_linuxthreads=1
# fall back to linuxthreads for cross glibcs
[ -n "$pkg_glibc_cross" ] && pkg_glibc_linuxthreads=1
[ "${pkg_glibc_version}" = "24" ] && pkg_glibc_linuxthreads=0
[ "${pkg_glibc_version}" = "25" ] && pkg_glibc_linuxthreads=0
# Give a more descriptive error message than the one that would happen during the build.
kernel_mainline="`uname -r | cut -f-2 -d'.'`"
@ -276,7 +276,7 @@ fi
#---------------------------------
#---------------------------------
if [ $pkg_glibc_version = 24 ]; then
if [ $pkg_glibc_version = 25 ]; then
glibc_custmain() {
# check whether profiling is enabled
@ -370,14 +370,14 @@ glibc_prepatch() {
if [ $pkg_glibc_linuxthreads = 1 -a -f $archdir/*linuxthreads*.tar.bz2 ]; then
tar $taropt $archdir/*linuxthreads*.tar.bz2
fi
if [ "${pkg_glibc_version}" = "24" ] ; then
if [ "${pkg_glibc_version}" = "25" ] ; then
echo "extracting glibc-ports"
tar $taropt $archdir/glibc-ports-2.4*.tar.bz2
tar $taropt $archdir/glibc-ports-*.tar.bz2
fi
}
glibc_stage0() {
if [ $pkg_glibc_version = 24 ]
if [ $pkg_glibc_version = 25 ]
then
mkdir -p objdir; cd objdir

+ 6
- 6
package/base/glibc/glibc.desc

@ -35,7 +35,7 @@
[C] base/library
[F] CORE
[E] group libc glibc22 glibc23 glibc24
[E] group libc glibc22 glibc23 glibc25
[E] del libgd
[L] GPL
@ -55,11 +55,11 @@
[D] 2449696200 glibc-linuxthreads-2.3.6.tar.bz2 ftp://ftp.gnu.org/gnu/glibc/
#endif
#if xpkg == glibc24.*
[V] 2.4
[D] 1764169258 glibc-2.4.tar.bz2 http://ftp.gnu.org/gnu/glibc/
[D] 1792690402 glibc-ports-2.4.tar.bz2 http://ftp.gnu.org/gnu/glibc/
#if xpkg == glibc25.*
[V] 2.5
[D] 3501909437 glibc-2.5.tar.bz2 http://ftp.gnu.org/gnu/glibc/
[D] 4254948014 glibc-ports-2.5.tar.bz2 http://ftp.gnu.org/gnu/glibc/
#endif
[CD] <COPY> cp $cachedir/glibc2[23].cache $confdir/$pkg.cache
[CD] <COPY> cp $cachedir/glibc2[235].cache $confdir/$pkg.cache

package/base/glibc/glibc24/gcc_eh.patch.cross → package/base/glibc/glibc25/gcc_eh.patch.cross


package/base/glibc/glibc24/ldconfig-glob.patch → package/base/glibc/glibc25/ldconfig-glob.patch


Loading…
Cancel
Save