aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-03-04 21:42:29 +0100
committerHenrik Riomar <henrik.riomar@gmail.com>2019-03-04 22:29:55 +0100
commit5c21abb0a034e641fd61c624261c943d53060eaf (patch)
treee243c5274e3fe5e98ab4ff73241d720f0ec8982a
parent0675ed6d43e7090eb9802d47fa7cbc2eb6324570 (diff)
downloadaports-5c21abb0a034e641fd61c624261c943d53060eaf.tar.gz
aports-5c21abb0a034e641fd61c624261c943d53060eaf.tar.bz2
aports-5c21abb0a034e641fd61c624261c943d53060eaf.tar.xz
community/scdoc: upgrade to 1.9.4
-rw-r--r--community/scdoc/APKBUILD6
-rw-r--r--community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch29
2 files changed, 33 insertions, 2 deletions
diff --git a/community/scdoc/APKBUILD b/community/scdoc/APKBUILD
index 2a86c2e74f..6a9eab3921 100644
--- a/community/scdoc/APKBUILD
+++ b/community/scdoc/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=scdoc
-pkgver="1.9.3"
+pkgver="1.9.4"
pkgrel=0
pkgdesc="simple man page generator written for POSIX systems written in C99"
url="https://git.sr.ht/~sircmpwn/scdoc"
@@ -10,6 +10,7 @@ arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz
+ scdoc-use-TZ-UTC-in-test-case.patch
"
builddir="$srcdir/$pkgname-$pkgver"
@@ -28,4 +29,5 @@ package() {
make PREFIX="$pkgdir/usr" install
}
-sha512sums="77be81f042e2099de7fc84b0161bc8a95d5c3dde662284613d84a1e249fa0aa51dad73f53f265c833526d40f5e1f19fce99dc5cd6df35efb0a323c3db6084a55 scdoc-1.9.3.tar.gz"
+sha512sums="08716e27577a47031a4ec6b25d8d156825a9d06fbdb29a3ae0ded42103f148938248b8e5a70148a9eec8952c5523f9dbb7ac6676bc514ffec0c3327014b15194 scdoc-1.9.4.tar.gz
+113a510cded8efa2e76584b9c5d0ee3d23ad2ee9d6b09bfa2117a829252152bb1bb50f3e262912ec67086afb6b0f129ca7979b4db7c550f52377ff08f9449520 scdoc-use-TZ-UTC-in-test-case.patch"
diff --git a/community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch b/community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch
new file mode 100644
index 0000000000..d1c8e76742
--- /dev/null
+++ b/community/scdoc/scdoc-use-TZ-UTC-in-test-case.patch
@@ -0,0 +1,29 @@
+From 39d1b1a4cea4f5f562d571bd6b090e72c057becb Mon Sep 17 00:00:00 2001
+From: Henrik Riomar <henrik.riomar@gmail.com>
+Date: Mon, 4 Mar 2019 22:03:25 +0100
+Subject: [PATCH] [PATCH scdoc] use TZ=UTC in test case
+
+---
+ test/preamble | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/test/preamble b/test/preamble
+index 969d674..71f1372 100755
+--- a/test/preamble
++++ b/test/preamble
+@@ -70,10 +70,11 @@ test-manual(8) "" "Header"
+ EOF
+ end 0
+
++export TZ=UTC
+ export SOURCE_DATE_EPOCH=$(date --date="2017-12-09 23:18:57" +'%s')
+
+ begin "Supports \$SOURCE_DATE_EPOCH"
+-scdoc <<EOF | grep '^\.TH "reproducible-manual" "8" "2017-12-10"' >/dev/null
++scdoc <<EOF | grep '^\.TH "reproducible-manual" "8" "2017-12-09"' >/dev/null
+ reproducible-manual(8)
+ EOF
+ end 0
+--
+2.21.0
+