aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-posix-strftime-compiler
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2018-04-24 00:41:15 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2018-05-08 08:55:04 +0000
commit387ecabe4f1cc78b6f047e638963d8729da0f85e (patch)
tree369286c559d05dd7c6ff318122333103b2a99ff8 /main/perl-posix-strftime-compiler
parent017672651a160248ff8a826d74b2328a9f0fe3cc (diff)
downloadaports-387ecabe4f1cc78b6f047e638963d8729da0f85e.tar.bz2
aports-387ecabe4f1cc78b6f047e638963d8729da0f85e.tar.xz
main/perl-posix-strftime-compiler: upgrade to 0.42
Diffstat (limited to 'main/perl-posix-strftime-compiler')
-rw-r--r--main/perl-posix-strftime-compiler/APKBUILD2
-rw-r--r--main/perl-posix-strftime-compiler/musl-fix.patch20
2 files changed, 1 insertions, 21 deletions
diff --git a/main/perl-posix-strftime-compiler/APKBUILD b/main/perl-posix-strftime-compiler/APKBUILD
index b3861c5b65..7bfaeacda0 100644
--- a/main/perl-posix-strftime-compiler/APKBUILD
+++ b/main/perl-posix-strftime-compiler/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-posix-strftime-compiler
_pkgreal=POSIX-strftime-Compiler
-pkgver=0.41
+pkgver=0.42
pkgrel=0
pkgdesc="GNU C library compatible strftime for loggers and servers"
url="http://search.cpan.org/dist/POSIX-strftime-Compiler/"
diff --git a/main/perl-posix-strftime-compiler/musl-fix.patch b/main/perl-posix-strftime-compiler/musl-fix.patch
deleted file mode 100644
index a177a5bb6c..0000000000
--- a/main/perl-posix-strftime-compiler/musl-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./lib/POSIX/strftime/Compiler.pm.orig
-+++ ./lib/POSIX/strftime/Compiler.pm
-@@ -238,6 +238,8 @@
- 'c' => [q!$weekday_abbr[$_[WDAY]] . ' ' . $month_abbr[$_[MONTH]] . ' ' . substr(' '.$_[DAY],-2) . ' %H:%M:%S %Y'!,1],
- 'C' => [q!substr('0'.int(($_[YEAR]+1900)/100), -2)!], #century
- 'h' => [q!$month_abbr[$_[MONTH]]!],
-+ 'k' => [q!substr(' '.$_[HOUR],-2)!],
-+ 'l' => [q!substr(' '.($_[HOUR]%12 || 1),-2)!],
- 'N' => [q!substr(sprintf('%.9f', $_[SEC] - int $_[SEC]), 2)!],
- 'n' => [q!"\n"!],
- 'p' => [q!$_[HOUR] > 0 && $_[HOUR] < 13 ? "AM" : "PM"!],
-@@ -261,8 +263,6 @@
- 'V' => [q!substr('0'.isoweeknum(@_),-2)!,1],
- 'e' => [q!substr(' '.$_[DAY],-2)!],
- 'g' => [q!substr('0'.isoyearnum(@_)%100,-2)!,1],
-- 'k' => [q!substr(' '.$_[HOUR],-2)!],
-- 'l' => [q!substr(' '.($_[HOUR]%12 || 1),-2)!],
- 's' => [q!int(Time::Local::timegm(@_))!,1],
- 'u' => [q!$_[WDAY] || 7!,1],
- 'z' => [q!tzoffset(@_)!,1],