X-Git-Url: http://gitweb/?a=blobdiff_plain;f=patch%2FPkgfile;h=45476387c4832bd5df160954c3592e4ae57788fa;hb=2549831c9ea0d299140c502d66fa0842b2079445;hp=d2184a01f9542ebb7de601cabf774dbe3ecf5721;hpb=1844ed751b5218f7c74c519391f52fd0c4c0ec36;p=crossrootfs.git diff --git a/patch/Pkgfile b/patch/Pkgfile index d2184a0..4547638 100644 --- a/patch/Pkgfile +++ b/patch/Pkgfile @@ -5,23 +5,17 @@ # Depends on: name=patch -version=2.6.1 +version=2.7.1 release=1 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz - $name-$version-strnlen.patch - strnlen.c strnlen.m4 safe-read.m4) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { cd $name-$version - patch -p1 -i $SRC/$name-$version-strnlen.patch - cp $SRC/*.m4 gl/m4/ - cp $SRC/strnlen.c gl/lib/ - ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man - make + make make DESTDIR=$PKG install }