CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
patch: updated to 2.7.1 and aligned to upstream
[crossrootfs.git] / patch / Pkgfile
index d2184a01f9542ebb7de601cabf774dbe3ecf5721..45476387c4832bd5df160954c3592e4ae57788fa 100644 (file)
@@ -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
 }