xbps: add uunshare patch
This commit is contained in:
parent
39a8a70c0a
commit
a4f1ba4a1a
12
srcpkgs/xbps/patches/0001-fix-uunshare-args.patch
Normal file
12
srcpkgs/xbps/patches/0001-fix-uunshare-args.patch
Normal 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;
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user