diff options
Diffstat (limited to 'diffutils/Pkgfile')
-rwxr-xr-x | diffutils/Pkgfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/diffutils/Pkgfile b/diffutils/Pkgfile index d12c595a6..e6d5a747b 100755 --- a/diffutils/Pkgfile +++ b/diffutils/Pkgfile @@ -10,11 +10,15 @@ source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { cd $name-$version + + sed -i '/gets is a security hole/d' lib/stdio.in.h + ./configure --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man make make DESTDIR=$PKG install + if [ -f $PKG/usr/share/info/dir ]; then rm $PKG/usr/share/info/dir fi |