CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
glibc: updated to 2.32
[ports/core-arm64.git] / glibc / Pkgfile
index ead1ccffb2c1c8e25a7a0bd7f688253de9efaf39..99900e55cf55ec14e79025ff31193712b5b39d3e 100644 (file)
@@ -5,11 +5,11 @@
 # Depends on:
 
 name=glibc
-version=2.28
+version=2.32
 release=2
 source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
         http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.19.24.tar.xz \
-        glibc-$version-1.patch \
+        glibc-$version-2.patch \
         hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
 
 build() {
@@ -20,7 +20,7 @@ build() {
   make ARCH=arm64 INSTALL_HDR_PATH=$PKG/usr headers_install
   chown root:root $PKG/usr
 
-  patch -p1 -d $SRC/$name-${version:0:4} -i $SRC/$name-$version-1.patch
+  patch -p1 -d $SRC/$name-${version:0:4} -i $SRC/$name-$version-2.patch
 
   mkdir $SRC/build
   cd $SRC/build
@@ -46,10 +46,6 @@ build() {
 
   install -m 0644 $SRC/{hosts,resolv.conf,nsswitch.conf,host.conf,ld.so.conf} $PKG/etc
 
-  # install needed headers
-  install -d $PKG/usr/include/rpcsvc
-  install -m 0644 $SRC/$name-${version:0:4}/nis/rpcsvc/yp* $PKG/usr/include/rpcsvc
-
   ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
   ln -s stubs-hard.h $PKG/usr/include/gnu/stubs-soft.h
   install -d $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale