File: use_system_zoneinfo.patch

package info (click to toggle)
cctz 2.3%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 648 kB
  • sloc: cpp: 7,661; makefile: 62; ansic: 17; sh: 16
file content (17 lines) | stat: -rw-r--r-- 571 bytes parent folder | download
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.3/CMakeLists.txt
===================================================================
--- cctz-2.3.orig/CMakeLists.txt
+++ cctz-2.3/CMakeLists.txt
@@ -154,7 +154,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"
     )
 
   add_executable(cctz_benchmark src/cctz_benchmark.cc)