CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zlib: update to 1.2.7
[crossrootfs.git]
/
glibc
/
Pkgfile
diff --git
a/glibc/Pkgfile
b/glibc/Pkgfile
index 6313e3a5595bd3c823ab1c44b8baa3b329267992..c9fad76e7a1ac98643f717fcda8725863495ddd3 100644
(file)
--- a/
glibc/Pkgfile
+++ b/
glibc/Pkgfile
@@
-5,14
+5,13
@@
# Depends on:
name=glibc
# Depends on:
name=glibc
-version=2.1
2.2
-release=
2
+version=2.1
6.0
+release=
1
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
- ftp://ftp.gnu.org/gnu/$name/$name-ports-
2.12.1
.tar.bz2 \
+ ftp://ftp.gnu.org/gnu/$name/$name-ports-
$version
.tar.bz2 \
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.tar.gz \
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.tar.gz \
- glibc-ignore_origin.patch \
- Optimize-__getpagesize-a-bit.patch \
- $name-$version-cross_hacks-2.patch \
+ $name-resolv_assert.patch
+ $name-strtod_integer_overflow.patch
hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
build() {
hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
build() {
@@
-23,12
+22,11
@@
build() {
make ARCH=arm INSTALL_HDR_PATH=$PKG/usr headers_install
cd $SRC
make ARCH=arm INSTALL_HDR_PATH=$PKG/usr headers_install
cd $SRC
- mv $name-ports-
2.12.1
$name-$version/ports
+ mv $name-ports-
$version
$name-$version/ports
pushd $name-$version
pushd $name-$version
- patch -p1 -i $SRC/$name-$version-cross_hacks-2.patch
- patch -R -p1 -i $SRC/Optimize-__getpagesize-a-bit.patch
- patch -p1 -i $SRC/$name-ignore_origin.patch
+ patch -p1 -i $SRC/$name-resolv_assert.patch
+ patch -p1 -i $SRC/$name-strtod_integer_overflow.patch
popd
mkdir build
popd
mkdir build
@@
-36,6
+34,8
@@
build() {
cat > config.cache << EOF
libc_cv_gnu89_inline=yes
cat > config.cache << EOF
libc_cv_gnu89_inline=yes
+libc_cv_ctors_header=yes
+libc_cv_c_cleanup=yes
ac_cv_sizeof_long_double=0
EOF
ac_cv_sizeof_long_double=0
EOF
@@
-49,7
+49,8
@@
EOF
--enable-add-ons \
--disable-profile \
--without-gd \
--enable-add-ons \
--disable-profile \
--without-gd \
- --with-__thread
+ --with-__thread \
+ --enable-obsolete-rpc
make CC="$CC" CFLAGS="$CFLAGS"
make install_root=$PKG install
make CC="$CC" CFLAGS="$CFLAGS"
make install_root=$PKG install
@@
-58,5
+59,7
@@
EOF
ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
mkdir -p $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
mkdir -p $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
- rm -rf $PKG/usr/share/{info,locale}
+ rm -rf $PKG/usr/share/{info,locale} \
+ $PKG/usr/bin/tzselect \
+ $PKG/usr/sbin/z{dump,ic}
}
}