diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template
index 588b61b6792..82fa7bf46df 100644
--- a/srcpkgs/libarchive/template
+++ b/srcpkgs/libarchive/template
@@ -1,7 +1,7 @@
 # Template file for 'libarchive'
 pkgname=libarchive
 version=3.1.2
-revision=8
+revision=9
 bootstrap=yes
 build_style=gnu-configure
 configure_args="--without-xml2 --without-nettle --disable-rpath ac_cv_func_lchmod=no"
diff --git a/srcpkgs/xz/template b/srcpkgs/xz/template
index 934e31373f9..465661c4495 100644
--- a/srcpkgs/xz/template
+++ b/srcpkgs/xz/template
@@ -1,7 +1,7 @@
 # Template file for 'xz'
 pkgname=xz
 version=5.0.5
-revision=4
+revision=5
 bootstrap=yes
 replaces="chroot-xz>=0"
 build_style=gnu-configure