diff --git a/srcpkgs/xbps/patches/d72091a20.patch b/srcpkgs/xbps/patches/d72091a20.patch new file mode 100644 index 00000000000..25234d95e1c --- /dev/null +++ b/srcpkgs/xbps/patches/d72091a20.patch @@ -0,0 +1,18 @@ +commit d72091a2060817ac10f55fbd8de4e0611d6d6940 +Author: Duncaen +Date: Wed Jun 26 13:07:16 2019 +0200 + + lib/transaction_files.c: fix returning error on hash mismatch + +diff --git lib/transaction_files.c lib/transaction_files.c +index 4dbf4584..9a6ca630 100644 +--- lib/transaction_files.c ++++ lib/transaction_files.c +@@ -331,6 +331,7 @@ collect_obsoletes(struct xbps_handle *xhp) + continue; + case ERANGE: + /* hash mismatch don't delete it */ ++ rv = 0; + continue; + default: + break; diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index a585f952f81..f176c300c90 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.56 -revision=2 +revision=3 bootstrap=yes build_style=configure short_desc="XBPS package system utilities"