File: missing-warning.patch

package info (click to toggle)
eckit 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,044 kB
  • sloc: cpp: 111,103; ansic: 2,826; yacc: 590; lex: 361; python: 302; sh: 162; makefile: 53
file content (18 lines) | stat: -rw-r--r-- 861 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use ecbuild_info(), ecbuild_warning() currently doesn't exist
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2020-09-18
Forwarded: no

Index: eckit-2.0.0/cmake/check_time_t_Y2038.cmake
===================================================================
--- eckit-2.0.0.orig/cmake/check_time_t_Y2038.cmake
+++ eckit-2.0.0/cmake/check_time_t_Y2038.cmake
@@ -7,7 +7,7 @@ if( ECKIT_SIZEOF_TIME_T EQUAL "8" OR ECK
     ecbuild_info("time_t size ${ECKIT_SIZEOF_TIME_T}")
 else()
 	# once we are closer to 2038 we will upgrade this to a critical error using ecbuild_critical()
-	ecbuild_warning("This system time_t has size ${ECKIT_SIZEOF_TIME_T} and therefore suffers from Y2038 problem" )
+	ecbuild_info("This system time_t has size ${ECKIT_SIZEOF_TIME_T} and therefore suffers from Y2038 problem" )
 endif()
 
 cmake_pop_check_state()