CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
m4: fixed issues with glibc 'gets' removal (aligned with upstream)
[crossrootfs.git] / m4 / Pkgfile
index 854dd07c644a4888952c2b750b9933edea1beafb..e709cc21e4c1bc77d8cd1670645f2d964c0ea766 100644 (file)
@@ -5,12 +5,15 @@
 # Depends on:
 
 name=m4
-version=1.4.14
+version=1.4.16
 release=1
 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
 
 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 \