From 08df010cf8a6c2f2ece6557ac14f35687481b2ea Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 27 Feb 2020 10:33:06 +0100 Subject: [PATCH] dialog: update to 1.3.20191210. --- srcpkgs/dialog/patches/trim-blank.patch | 21 --------------------- srcpkgs/dialog/template | 4 ++-- 2 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/dialog/patches/trim-blank.patch diff --git a/srcpkgs/dialog/patches/trim-blank.patch b/srcpkgs/dialog/patches/trim-blank.patch deleted file mode 100644 index 9888ed2e788..00000000000 --- a/srcpkgs/dialog/patches/trim-blank.patch +++ /dev/null @@ -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))) { diff --git a/srcpkgs/dialog/template b/srcpkgs/dialog/template index 4df949f5838..12df38bb88c 100644 --- a/srcpkgs/dialog/template +++ b/srcpkgs/dialog/template @@ -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 " 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