CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gettext: fixed issues with glibc 'gets' removal (aligned with upstream)
authorVictor Martinez <pitillo@ono.com>
Fri, 19 Oct 2012 01:28:49 +0000 (01:28 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 19 Oct 2012 01:28:55 +0000 (01:28 +0000)
gettext/Pkgfile

index 6a088cc4f37f60f409d124e6289062ee99a69038..b7947a365431eb0174a197c92fb1c6c5699a3d31 100644 (file)
@@ -11,6 +11,9 @@ 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' $name-*/*/stdio.in.h
+
   cat > config.cache << EOF
 am_cv_func_iconv_works=yes
 gl_cv_func_wcwidth_works=yes