From d9e90bbfa6c450bad459440b821ecf62e809f3c9 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Wed, 26 Jun 2019 22:25:53 +0200 Subject: [PATCH] xbps: add patch to fix xbps-remove -o --- srcpkgs/xbps/patches/7b728f5ac.patch | 19 +++++++++++++++++++ srcpkgs/xbps/template | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/xbps/patches/7b728f5ac.patch diff --git a/srcpkgs/xbps/patches/7b728f5ac.patch b/srcpkgs/xbps/patches/7b728f5ac.patch new file mode 100644 index 00000000000..4e3ab7b84e4 --- /dev/null +++ b/srcpkgs/xbps/patches/7b728f5ac.patch @@ -0,0 +1,19 @@ +commit 7b728f5ac0adc28f3d7270c26e14ecff73a7f16f +Author: Duncaen +Date: Wed Jun 26 22:24:47 2019 +0200 + + bin/xbps-remove: fix skipping executing orphans transaction + +diff --git bin/xbps-remove/main.c bin/xbps-remove/main.c +index 1ef328a8..4ff943c0 100644 +--- bin/xbps-remove/main.c ++++ bin/xbps-remove/main.c +@@ -295,7 +295,7 @@ main(int argc, char **argv) + exit(rv); + } + } +- if (missing == argc) { ++ if (!orphans && missing == argc) { + goto out; + } + if (orphans || (argc > optind)) { diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index f176c300c90..59d9e0fc4cf 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.56 -revision=3 +revision=4 bootstrap=yes build_style=configure short_desc="XBPS package system utilities"