CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
diffutils: updated to 3.2 and aligned with upstream
[crossrootfs.git] / diffutils / Pkgfile
index 519cba84936cc4789bc7f6a4accac6473b3f476c..b45620aaebc05d6652ace085f16a8914550ef713 100644 (file)
@@ -5,18 +5,24 @@
 # Depends on:
 
 name=diffutils
-version=3.0
-release=1
+version=3.2
+release=2
 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
+
+  # fix for glibc 'gets' removal
+  sed -i -e '/gets is a/d' lib/stdio.in.h
+
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --mandir=$PKG/usr/man \
               --disable-nls
+
   make
   make prefix=$PKG/usr install
+
   rm -rf $PKG/usr/share
 }