CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
m4: fixed issues with glibc 'gets' removal (aligned with upstream)
authorVictor Martinez <pitillo@ono.com>
Wed, 28 Nov 2012 16:46:50 +0000 (16:46 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 28 Nov 2012 16:46:50 +0000 (16:46 +0000)
m4/Pkgfile

index b85b5538a161076a6533fcf370c6c08c996a8cd0..e709cc21e4c1bc77d8cd1670645f2d964c0ea766 100644 (file)
@@ -11,6 +11,9 @@ 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 \