diff --git a/srcpkgs/xbps/patches/0001-fix-uunshare-args.patch b/srcpkgs/xbps/patches/0001-fix-uunshare-args.patch new file mode 100644 index 00000000000..3b12c1c8cfa --- /dev/null +++ b/srcpkgs/xbps/patches/0001-fix-uunshare-args.patch @@ -0,0 +1,12 @@ +diff --git a/bin/xbps-uunshare/main.c b/bin/xbps-uunshare/main.c +index e4f7b647..36e8d39e 100644 +--- ./bin/xbps-uunshare/main.c ++++ ./bin/xbps-uunshare/main.c +@@ -157,7 +157,7 @@ main(int argc, char **argv) + if (argc < 2) + usage(argv0); + +- chrootdir = argv[-1]; ++ chrootdir = argv[0]; + cmd = argv[1]; + cmdargs = argv + 1; diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 1bbce07515e..3ad78ab5a11 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.52 -revision=2 +revision=3 bootstrap=yes build_style=configure short_desc="The XBPS package system utilities"