dialog: update to 1.3.20191210.
This commit is contained in:
parent
ce71618333
commit
08df010cf8
2 changed files with 2 additions and 23 deletions
|
@ -1,21 +0,0 @@
|
|||
Source: @pullmoll
|
||||
Upstream: no (should be queried)
|
||||
Reason: fix issue with dialog dropping blanks (BE targets)
|
||||
|
||||
The conversion of isblank() to int is vague thus use constants.
|
||||
Pre decrement the dst ptr and test for it being greater than base.
|
||||
|
||||
--- util.c 2018-06-22 01:47:10.000000000 +0200
|
||||
+++ util.c 2019-05-30 10:35:00.517648968 +0200
|
||||
@@ -2330,9 +2330,9 @@
|
||||
static bool
|
||||
trim_blank(char *base, char *dst)
|
||||
{
|
||||
- int count = isblank(UCH(*dst));
|
||||
+ int count = isblank(UCH(*dst)) ? 1 : 0;
|
||||
|
||||
- while (dst-- != base) {
|
||||
+ while (--dst > base) {
|
||||
if (*dst == '\n') {
|
||||
break;
|
||||
} else if (isblank(UCH(*dst))) {
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dialog'
|
||||
pkgname=dialog
|
||||
_distver=1.3
|
||||
_date=20191110
|
||||
_date=20191210
|
||||
version="${_distver}.${_date}"
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${_distver}-${_date}"
|
||||
|
@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="LGPL-2.1-only"
|
||||
homepage="https://invisible-island.net/dialog/"
|
||||
distfiles="https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${_distver}-${_date}.tgz"
|
||||
checksum=d92a7d0910404c02c908e3ce774ac652edc822f45c6536c7d72fafa10e1d0e63
|
||||
checksum=10f7c02ee5dea311e61b0d3e29eb6e18bcedd6fb6672411484c1a37729cbd7a6
|
||||
|
||||
post_install() {
|
||||
rm -r ${DESTDIR}/usr/lib
|
||||
|
|
Loading…
Reference in a new issue