xbps: add patch for regression

This commit is contained in:
Duncaen 2020-03-04 12:51:25 +01:00
parent c5d2ae55b3
commit cae13fb567
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,25 @@
From 4d40179a8ae86f16aeea1418b6a0b58c8ed8f3d7 Mon Sep 17 00:00:00 2001
From: Duncan Overbruck <mail@duncano.de>
Date: Wed, 4 Mar 2020 12:46:44 +0100
Subject: [PATCH] bin/xbps-install: fix regression in small transaction stats
fixes #242
---
bin/xbps-install/transaction.c | 1 +
1 file changed, 1 insertion(+)
diff --git bin/xbps-install/transaction.c bin/xbps-install/transaction.c
index ae1ddcf2..89d1b8a4 100644
--- bin/xbps-install/transaction.c
+++ bin/xbps-install/transaction.c
@@ -125,6 +125,7 @@ show_package_list(struct transaction *trans, xbps_trans_type_t ttype, unsigned i
xbps_dictionary_get_bool(obj, "download", &dload);
tt = xbps_transaction_pkg_type(obj);
+ buf = NULL;
if (tt == XBPS_TRANS_UPDATE) {
/* get installed pkgver */
ipkgd = xbps_pkgdb_get_pkg(trans->xhp, pkgname);
--
2.25.1

View file

@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
version=0.59
revision=1
revision=2
bootstrap=yes
build_style=configure
short_desc="XBPS package system utilities"