summaryrefslogtreecommitdiff
path: root/office/calcurse
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-04-30 13:45:47 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-03 08:48:45 +0700
commit976132d84daa6409420626839f5cb7c55fa1b51c (patch)
treec6e4cb5ddfa8101c80acef1443bb923efb7db0fc /office/calcurse
parent0b25eb08d7d5dacdef17b0fc617ac60780bdf093 (diff)
downloadslackbuilds-976132d84daa6409420626839f5cb7c55fa1b51c.tar.gz
office/calcurse: Updated for version 4.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/calcurse')
-rw-r--r--office/calcurse/calcurse.SlackBuild8
-rw-r--r--office/calcurse/calcurse.info6
-rw-r--r--office/calcurse/dst_change.patch15
3 files changed, 5 insertions, 24 deletions
diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild
index 02c4c2c2ff..6a979d2fc5 100644
--- a/office/calcurse/calcurse.SlackBuild
+++ b/office/calcurse/calcurse.SlackBuild
@@ -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 \
diff --git a/office/calcurse/calcurse.info b/office/calcurse/calcurse.info
index a38861365d..72ad284cd2 100644
--- a/office/calcurse/calcurse.info
+++ b/office/calcurse/calcurse.info
@@ -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=""
diff --git a/office/calcurse/dst_change.patch b/office/calcurse/dst_change.patch
deleted file mode 100644
index db0800db79..0000000000
--- a/office/calcurse/dst_change.patch
+++ /dev/null
@@ -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;
- }