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

Brett Cornwall ainola at archlinux.org
Thu Aug 6 15:16:01 UTC 2020


    Date: Thursday, August 6, 2020 @ 15:16:01
  Author: ainola
Revision: 671025

Update pkg-config patch to link to date-tz

The patch was not updated and still linked to the old tz lib instead of date's new date-tz lib.

Modified:
  chrono-date/trunk/538-output-date-pc-for-pkg-config.patch
  chrono-date/trunk/PKGBUILD

-----------------------------------------+
 538-output-date-pc-for-pkg-config.patch |    2 +-
 PKGBUILD                                |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

Modified: 538-output-date-pc-for-pkg-config.patch
===================================================================
--- 538-output-date-pc-for-pkg-config.patch	2020-08-06 15:12:24 UTC (rev 671024)
+++ 538-output-date-pc-for-pkg-config.patch	2020-08-06 15:16:01 UTC (rev 671025)
@@ -56,5 +56,5 @@
 +Name: date
 +Description: A date and time library based on the C++11/14/17 <chrono> header
 +Version: @PACKAGE_VERSION@
-+Libs: -L${libdir} -ltz
++Libs: -L${libdir} -ldate-tz
 +Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-06 15:12:24 UTC (rev 671024)
+++ PKGBUILD	2020-08-06 15:16:01 UTC (rev 671025)
@@ -2,7 +2,7 @@
 
 pkgname=chrono-date
 pkgver=3.0.0
-pkgrel=1
+pkgrel=2
 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"
@@ -18,12 +18,13 @@
         "538-output-date-pc-for-pkg-config.patch::https://patch-diff.githubusercontent.com/raw/HowardHinnant/date/pull/538.patch"
         "disable_buggy_libstdc++_tests.patch")
 sha256sums=('87bba2eaf0ebc7ec539e5e62fc317cb80671a337c1fb1b84cb9e4d42c6dbebe3'
-            '77bd5764c4807aaaba59000a5d45b71a04bc0d43eb157f8067b2be46c4314987'
+            'c881ae3ae08b46a2137b987e593469d030669c37c9423921a1fac7de512676f3'
             'bd770b44554790c8854dd433aa670ecb8071a69bbeb2855c97dc66570d442165')
 
 prepare() {
     cd "date-$pkgver"
     # 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
 
     # FIXME: one particular test suite will fail; according to the date author,



More information about the arch-commits mailing list