xbps{,-static}: patch from master to fix build on ARM.

This commit is contained in:
Juan RP 2015-03-21 09:47:53 +01:00
parent b77b3f5a6c
commit 09dbc74814
3 changed files with 28 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# NOTE: keep this package synchronized with "srcpkgs/xbps".
pkgname=xbps-static
version=0.44.1
revision=1
revision=2
build_style=configure
short_desc="The XBPS package system utilities - static binaries"
maintainer="Juan RP <xtraeme@gmail.com>"

View File

@ -0,0 +1,26 @@
From 62b21a4f93a8f3dcc7350630b5bf250af7663757 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Sat, 21 Mar 2015 09:45:29 +0100
Subject: [PATCH] xbps-install/question.c: char is not enough for fgetc, use
int (HI GOTTOX)
---
bin/xbps-install/question.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/xbps-install/question.c b/bin/xbps-install/question.c
index 1d61af2..bb74214 100644
--- bin/xbps-install/question.c
+++ bin/xbps-install/question.c
@@ -40,7 +40,7 @@
static bool
question(bool preset, const char *fmt, va_list ap)
{
- char response;
+ int response;
vfprintf(stderr, fmt, ap);
if(preset)
--
2.3.3

View File

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