[arch-commits] Commit in chrono-date/trunk (PKGBUILD)

Brett Cornwall ainola at gemini.archlinux.org
Mon Jul 19 01:20:12 UTC 2021


    Date: Monday, July 19, 2021 @ 01:20:12
  Author: ainola
Revision: 978554

upgpkg: chrono-date 3.0.1-1

Includes two patches to fix a failing test and bumps the soname to version 3
(it was accidentally left at 2.4)

Modified:
  chrono-date/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-19 00:55:41 UTC (rev 978553)
+++ PKGBUILD	2021-07-19 01:20:12 UTC (rev 978554)
@@ -1,8 +1,8 @@
 # Maintainer: Brett Cornwall <ainola at archlinux.org>
 
 pkgname=chrono-date
-pkgver=3.0.0
-pkgrel=2
+pkgver=3.0.1
+pkgrel=1
 pkgdesc="A date and time library based on the C++11/14/17 <chrono> header"
 arch=(x86_64)
 url="https://howardhinnant.github.io/date/date.html"
@@ -16,13 +16,23 @@
 )
 source=("$pkgname-$pkgver.tar.gz::https://github.com/HowardHinnant/date/archive/v$pkgver.tar.gz"
         "538-output-date-pc-for-pkg-config.patch::https://patch-diff.githubusercontent.com/raw/HowardHinnant/date/pull/538.patch"
+        "https://github.com/HowardHinnant/date/commit/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch"
+        "https://github.com/HowardHinnant/date/commit/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch"
         "disable_buggy_libstdc++_tests.patch")
-sha256sums=('87bba2eaf0ebc7ec539e5e62fc317cb80671a337c1fb1b84cb9e4d42c6dbebe3'
+sha256sums=('7a390f200f0ccd207e8cff6757e04817c1a0aec3e327b006b7eb451c57ee3538'
             'c881ae3ae08b46a2137b987e593469d030669c37c9423921a1fac7de512676f3'
+            '9d8586fce2b98130dbfa5586250a74142f87cde97a9368ae07ebe89e5d6ea586'
+            '2a14544db6dad5e0f6a674384fccb86144915c45e9d3826f0c49ef2c01143884'
             'bd770b44554790c8854dd433aa670ecb8071a69bbeb2855c97dc66570d442165')
 
 prepare() {
     cd "date-$pkgver"
+
+    # https://github.com/HowardHinnant/date/issues/671
+    # These two patches were commited right after release of 3.0.1 and fix a
+    # failing test.
+    patch -p1 < ../052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch
+    patch -p1 < ../b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch
     # https://github.com/HowardHinnant/date/issues/537
     # Modified to link against date-tz as newer releases of date changed the library.
     patch -p1 < ../538-output-date-pc-for-pkg-config.patch




More information about the arch-commits mailing list