office/calcurse: Updated for version 4.6.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2020-04-30 13:45:47 +01:00 committed by Willy Sudiarto Raharjo
parent 0b25eb08d7
commit 976132d84d
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 5 additions and 24 deletions

View File

@ -27,8 +27,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=calcurse
VERSION=${VERSION:-4.5.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -73,10 +73,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix a problem with DST
# https://lists.calcurse.org/bugs/msg00281.html
patch -p1 <$CWD/dst_change.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View File

@ -1,8 +1,8 @@
PRGNAM="calcurse"
VERSION="4.5.0"
VERSION="4.6.0"
HOMEPAGE="http://calcurse.org/"
DOWNLOAD="https://calcurse.org/files/calcurse-4.5.0.tar.gz"
MD5SUM="26e8c3e47a5cde45d216525b1e1e464d"
DOWNLOAD="https://calcurse.org/files/calcurse-4.6.0.tar.gz"
MD5SUM="20b59e3a41713f6433be252ea8413dbe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View File

@ -1,15 +0,0 @@
diff -Naur a/src/utils.c b/src/utils.c
--- a/src/utils.c 2019-06-16 20:04:39.000000000 +0100
+++ b/src/utils.c 2019-08-01 16:12:00.864953675 +0100
@@ -526,9 +526,11 @@
t.tm_mon += delta_month;
t.tm_mday += delta_day;
+ t.tm_isdst = -1;
if (mktime(&t) == -1) {
return 1;
} else {
+ t.tm_isdst = -1;
*date = t;
return 0;
}