File: use_system_zoneinfo.patch

package info (click to toggle)
cctz 2.4%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 756 kB
  • sloc: cpp: 8,193; makefile: 62; ansic: 17; sh: 16
file content (17 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: use zoneinfo shipped with the system
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2017-11-15

Index: cctz-2.4/CMakeLists.txt
===================================================================
--- cctz-2.4.orig/CMakeLists.txt
+++ cctz-2.4/CMakeLists.txt
@@ -160,7 +160,7 @@ if (BUILD_TESTING)
       time_zone_format_test
       time_zone_lookup_test
     PROPERTY
-      ENVIRONMENT "TZDIR=${CMAKE_CURRENT_SOURCE_DIR}/testdata/zoneinfo"
+      ENVIRONMENT "TZDIR=/usr/share/zoneinfo"
     )
 
   if (BUILD_BENCHMARK)