xbps: add uunshare patch

This commit is contained in:
Enno Boland 2018-04-30 18:23:10 +02:00
parent 39a8a70c0a
commit a4f1ba4a1a
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 13 additions and 1 deletions

View file

@ -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;

View file

@ -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"