aboutsummaryrefslogtreecommitdiffstats
path: root/main/task
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-02-03 12:39:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-02-03 12:39:35 +0000
commitf04908c3263baa7d721254ffd530867e7d55843e (patch)
tree962e7757918b2a6577b37f325b7ddbab88420147 /main/task
parent4ace6271cc65f7d2dae6301d01c29dc30d74e833 (diff)
downloadaports-f04908c3263baa7d721254ffd530867e7d55843e.tar.bz2
aports-f04908c3263baa7d721254ffd530867e7d55843e.tar.xz
main/task: upgrade to 2.4.0
Diffstat (limited to 'main/task')
-rw-r--r--main/task/APKBUILD20
-rw-r--r--main/task/musl-mktime.patch11
2 files changed, 23 insertions, 8 deletions
diff --git a/main/task/APKBUILD b/main/task/APKBUILD
index 86f8666985..12c9d6b2b3 100644
--- a/main/task/APKBUILD
+++ b/main/task/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=task
-pkgver=2.3.0
-pkgrel=1
+pkgver=2.4.0
+pkgrel=0
pkgdesc="A command-line to do list manager"
url="http://taskwarrior.org"
arch="all"
@@ -13,6 +13,7 @@ install=""
subpackages="$pkgname-doc"
source="http://taskwarrior.org/download/task-$pkgver.tar.gz
musl-fix.patch
+ musl-mktime.patch
"
_builddir="$srcdir"/task-$pkgver
@@ -40,9 +41,12 @@ package() {
make install DESTDIR="$pkgdir"
}
-md5sums="2c1d2c64311855f3519ad038ebd372ac task-2.3.0.tar.gz
-1e826dcc0aa6a0c08a6e2b7c450945cd musl-fix.patch"
-sha256sums="2b9a289109e691e305b84631622299853134cf195d4c9af962759b640176ac73 task-2.3.0.tar.gz
-60ece7d726ad383434a802dbfb6d4479200457031e879af0c95e3dd416d562fb musl-fix.patch"
-sha512sums="9a17ec79735800edb6b5b4c6eede6ef62e8374a80a4f566b967e8ee45883e0d3533d4c3643a858f12adf6b9021fb8c9d54cae7620ca4749cf4237f0235e1d483 task-2.3.0.tar.gz
-d9e704d47cb1e5a151b39d2733b40fe9a8503d08329bbc4dbe385c59b0dfe6fb60f59888aa10f5139937cd0012326606c9edbdd0677af444d1e66d8c867cceb7 musl-fix.patch"
+md5sums="de4b64b3d28bb9636af219a486552cd0 task-2.4.0.tar.gz
+1e826dcc0aa6a0c08a6e2b7c450945cd musl-fix.patch
+4980bd6048d3b55d7702da0a904820f0 musl-mktime.patch"
+sha256sums="6fa595f5b0fdf6ee8031da39e8d009771bda135f265d5f7b59df8046ffd9119e task-2.4.0.tar.gz
+60ece7d726ad383434a802dbfb6d4479200457031e879af0c95e3dd416d562fb musl-fix.patch
+85f5fab64e7587c368befee0a8d7d5e5ea78dd5b253ed2f2d125ef9376cd73ef musl-mktime.patch"
+sha512sums="d5542f0cc832b488ae29893b8cdca0ae4a8789a21681e1952474019830c9959a47d6f74cbd6660cc308d290782e0eec64fde65d6b767a5343ce6bb9146724dad task-2.4.0.tar.gz
+d9e704d47cb1e5a151b39d2733b40fe9a8503d08329bbc4dbe385c59b0dfe6fb60f59888aa10f5139937cd0012326606c9edbdd0677af444d1e66d8c867cceb7 musl-fix.patch
+2aec23e50db7bdbd5f455f73f8d7463d8607b7f4b8e986ba70bbe1c8bf1660cd318363b3d4954d65e39e66dd05bc4b051370da1cde1108299e55090d2a8bdb2e musl-mktime.patch"
diff --git a/main/task/musl-mktime.patch b/main/task/musl-mktime.patch
new file mode 100644
index 0000000000..cfe0beee1a
--- /dev/null
+++ b/main/task/musl-mktime.patch
@@ -0,0 +1,11 @@
+--- ./src/ISO8601.cpp.orig
++++ ./src/ISO8601.cpp
+@@ -702,7 +702,7 @@
+ t.tm_min = (seconds % 3600) / 60;
+ t.tm_sec = seconds % 60;
+
+- _value = utc ? timegm (&t) : timelocal (&t);
++ _value = utc ? timegm (&t) : mktime (&t);
+ }
+
+ ////////////////////////////////////////////////////////////////////////////////