diff --git a/srcpkgs/containers/template b/srcpkgs/containers/template index 8530c560ed3..fd394f3cbd4 100644 --- a/srcpkgs/containers/template +++ b/srcpkgs/containers/template @@ -1,14 +1,21 @@ # Template file for 'containers' pkgname=containers -version=1.4 +version=1.5 revision=1 wrksrc="${pkgname}-${pkgname}-${version}" short_desc="Lightweight containers using Linux user namespaces" maintainer="Juan RP " license="MIT" homepage="https://github.com/arachsys/containers" -distfiles="https://github.com/arachsys/containers/archive/containers-${version}.tar.gz" -checksum=1621f22027bc90b92c2bfeb174051fdbc2a18c5a0b50a96fbc091321329cc7f8 +distfiles="https://github.com/arachsys/containers/archive/containers-${version}.tar.gz + https://github.com/Duncaen/containers/commit/b1694737841e30acee923d948c0d65a9c94281dd.patch>err.patch" +checksum="fdb286e1e2bbcccd3fee7672658114dc187f882d9414cf2fe1b62468c5400548 + fed73cb27a7cd5b8750f4ca25657ad58d1a7b306a4c6d2464818b0f8aee368b8" + +pre_build() { + patch -Np1 <../err.patch + rm ../err.patch +} do_build() { make CC=$CC CFLAGS="${CFLAGS}" ${makejobs}