xbps{,-static}: sync with git master.
This commit is contained in:
parent
ae257c8962
commit
a1f453a102
5 changed files with 53 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
# NOTE: keep this package synchronized with "srcpkgs/xbps".
|
# NOTE: keep this package synchronized with "srcpkgs/xbps".
|
||||||
pkgname=xbps-static
|
pkgname=xbps-static
|
||||||
version=0.49
|
version=0.49
|
||||||
revision=2
|
revision=3
|
||||||
build_style=configure
|
build_style=configure
|
||||||
short_desc="The XBPS package system utilities - static binaries"
|
short_desc="The XBPS package system utilities - static binaries"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
|
|
@ -19,7 +19,7 @@ index 958c9f1..b71081e 100644
|
||||||
xbps_string_t str;
|
xbps_string_t str;
|
||||||
- char *l, *lnk;
|
- char *l, *lnk;
|
||||||
- const char *tgt;
|
- const char *tgt;
|
||||||
+ char *l, *lnk, *tgt = NULL;
|
+ char *l, *lnk, *tgt;
|
||||||
+ const char *tgt0;
|
+ const char *tgt0;
|
||||||
int rv;
|
int rv;
|
||||||
|
|
||||||
|
|
25
srcpkgs/xbps/patches/0002-alternatives-fix-a-warning.patch
Normal file
25
srcpkgs/xbps/patches/0002-alternatives-fix-a-warning.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
From 33a1bea633048a9d52f1ba52ec19852d321ffb37 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Juan RP <xtraeme@voidlinux.eu>
|
||||||
|
Date: Sat, 31 Oct 2015 14:07:12 +0100
|
||||||
|
Subject: [PATCH 1/2] alternatives: fix a warning.
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/package_alternatives.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/package_alternatives.c b/lib/package_alternatives.c
|
||||||
|
index b71081e..58caa41 100644
|
||||||
|
--- lib/package_alternatives.c
|
||||||
|
+++ lib/package_alternatives.c
|
||||||
|
@@ -102,7 +102,7 @@ create_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
|
||||||
|
cnt = xbps_array_count(a);
|
||||||
|
for (i = 0; i < cnt; i++) {
|
||||||
|
xbps_string_t str;
|
||||||
|
- char *l, *lnk, *tgt;
|
||||||
|
+ char *l, *lnk, *tgt = NULL;
|
||||||
|
const char *tgt0;
|
||||||
|
int rv;
|
||||||
|
|
||||||
|
--
|
||||||
|
2.6.2
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
From f896b17ba73a51451b221ebfc1bae59022cabcec Mon Sep 17 00:00:00 2001
|
||||||
|
From: Juan RP <xtraeme@voidlinux.eu>
|
||||||
|
Date: Sat, 31 Oct 2015 14:19:50 +0100
|
||||||
|
Subject: [PATCH 2/2] alternatives: fix an assertion!
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/package_alternatives.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/package_alternatives.c b/lib/package_alternatives.c
|
||||||
|
index 58caa41..19c1422 100644
|
||||||
|
--- lib/package_alternatives.c
|
||||||
|
+++ lib/package_alternatives.c
|
||||||
|
@@ -110,7 +110,7 @@ create_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
|
||||||
|
l = left(xbps_string_cstring_nocopy(str));
|
||||||
|
assert(l);
|
||||||
|
tgt0 = right(xbps_string_cstring_nocopy(str));
|
||||||
|
- assert(tgt);
|
||||||
|
+ assert(tgt0);
|
||||||
|
if (l[0] != '/') {
|
||||||
|
char *tgt_dup, *tgt_dir;
|
||||||
|
tgt_dup = strdup(tgt0);
|
||||||
|
--
|
||||||
|
2.6.2
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xbps'
|
# Template file for 'xbps'
|
||||||
pkgname=xbps
|
pkgname=xbps
|
||||||
version=0.49
|
version=0.49
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
short_desc="The XBPS package system utilities"
|
short_desc="The XBPS package system utilities"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue