xbps: add a temp patch to fix incorrect assertion; enough until 0.19 is out.
This commit is contained in:
parent
e418544e1b
commit
1158509bd1
2 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,17 @@
|
|||
Remove incorrect assertion that may be hit in packages that
|
||||
set conf_files with files not installed.
|
||||
|
||||
Temporary fix until xbps-0.19 is released.
|
||||
|
||||
--- lib/package_remove_obsoletes.c.orig 2012-12-03 17:27:30.354154688 +0100
|
||||
+++ lib/package_remove_obsoletes.c 2012-12-03 17:27:49.560683084 +0100
|
||||
@@ -67,7 +67,8 @@ again:
|
||||
found = false;
|
||||
obj = prop_array_get(array, i);
|
||||
oldstr = prop_dictionary_get(obj, "file");
|
||||
- assert(oldstr);
|
||||
+ if (oldstr == NULL)
|
||||
+ continue;
|
||||
|
||||
file = xbps_xasprintf(".%s",
|
||||
prop_string_cstring_nocopy(oldstr));
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xbps'
|
||||
pkgname=xbps
|
||||
version=0.18.1
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=configure
|
||||
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
||||
--with-tests --with-static"
|
||||
|
|
Loading…
Reference in a new issue