File: 002-remove-date-time.patch

package info (click to toggle)
taskd 1.1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,580 kB
  • sloc: cpp: 13,971; python: 1,523; sh: 1,052; perl: 610; ansic: 48; makefile: 15
file content (19 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Remove binary timestamps (reproductive builds)
 In order to make the build reproductive we need to avoid all
 dynamic generated var (like date).
Author: Gordon Ball <gordon@chronitis.net>
Forwarded: https://bug.tasktools.org/browse/TD-108
Reviewed-by: Sebastien Badia <seb@sebian.fr>
Last-Update: 2015-07-16


--- a/src/diag.cpp
+++ b/src/diag.cpp
@@ -148,7 +148,6 @@
             << "\n"
 
   // Build date.
-            << "       Built: " << __DATE__ << " " << __TIME__ << "\n"
 #ifdef HAVE_COMMIT
             << "      Commit: " << COMMIT << "\n"
 #endif