xbps: merge patch from git master to improve a msg error while unpacking.

This commit is contained in:
Juan RP 2013-05-15 15:53:54 +02:00
parent 5322a50449
commit 1dd050325c
2 changed files with 31 additions and 5 deletions

View file

@ -0,0 +1,26 @@
From 7da5f6e8f76a47e899df1fc0d0e58256bc0dbcd0 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 15 May 2013 12:45:35 +0200
Subject: [PATCH] lib/package_unpack.c: remove extra arg in
xbps_set_cb_state().
---
lib/package_unpack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/package_unpack.c b/lib/package_unpack.c
index e1d0fc1..259b13c 100644
--- lib/package_unpack.c
+++ lib/package_unpack.c
@@ -452,7 +452,7 @@ unpack_archive(struct xbps_handle *xhp,
if (archive_read_extract(ar, entry, flags) != 0) {
rv = archive_errno(ar);
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL,
- rv, pkgver, NULL,
+ rv, pkgver,
"%s: [unpack] failed to extract file `%s': %s",
pkgver, entry_pname, strerror(rv));
} else {
--
1.8.2.2

View file

@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
version=0.24
revision=1
revision=2
build_style=configure
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
--enable-static --enable-debug --enable-tests"
@ -16,7 +16,7 @@ distfiles="http://xbps.googlecode.com/files/xbps-$version.tar.gz"
checksum=95618f7bb728a6a1506a1f1af9d470db237c59b118d0aff4bc6985150b52e4c1
libxbps_package() {
short_desc="${short_desc} - runtime library"
short_desc+=" - runtime library"
replaces="xbps<0.16.3_2 libxbps>=0"
pkg_install() {
vmove "usr/lib/*.so*"
@ -24,7 +24,7 @@ libxbps_package() {
}
libxbps-devel_package() {
short_desc="${short_desc} - runtime library (development files)"
short_desc+=" - runtime library (development files)"
depends="zlib-devel proplib-devel confuse-devel libfetch-devel
libarchive-devel libxbps>=${version}"
replaces="xbps-static<0.16.3_2 libxbps-devel>=0"
@ -37,7 +37,7 @@ libxbps-devel_package() {
xbps-static_package() {
depends="xbps-triggers"
short_desc="${short_desc} - static binaries"
short_desc+=" - static binaries"
replaces="xbps-static>=0"
pkg_install() {
vmove "usr/sbin/*.static"
@ -45,7 +45,7 @@ xbps-static_package() {
}
xbps-tests_package() {
short_desc="${short_desc} - Kyua testsuite"
short_desc+=" - Kyua testsuite"
replaces="xbps<0.16.3_2 xbps-tests>=0"
pkg_install() {
vmove usr/tests