File: 10-remove-build-date.patch

package info (click to toggle)
zip 3.0-12
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 6,000 kB
  • sloc: ansic: 50,445; asm: 3,907; makefile: 858; sh: 42
file content (15 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Santiago Vila <sanvila@debian.org>
Subject: Remove (optional) build date to make the build reproducible
Bug-Debian: http://bugs.debian.org/779042

--- a/unix/unix.c
+++ b/unix/unix.c
@@ -1020,7 +1020,7 @@
 
 
 /* Define the compile date string */
-#ifdef __DATE__
+#if 0
 #  define COMPILE_DATE " on " __DATE__
 #else
 #  define COMPILE_DATE ""