File: reproducible_build.patch

package info (click to toggle)
epic4 1%3A3.0-2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 3,740 kB
  • sloc: ansic: 56,285; makefile: 667; sh: 160; perl: 30
file content (19 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Strip non-deterministic data to make build reproducible

Index: epic4-3.0/source/info.c.sh.in
===================================================================
--- epic4-3.0.orig/source/info.c.sh.in
+++ epic4-3.0/source/info.c.sh.in
@@ -25,10 +25,7 @@ cat > info.c << __E__O__F__
 #define USER "$comp_user"
 #endif
 
-const char *compile_user = "$comp_user";
-const char *compile_host = "$comp_host";
-const char *compile_time = "$comp_time";
 const char *info_c_sum   = "$info_c_sum";
-const char *compile_info = "Compiled by " USER "@$comp_host on $comp_time";
+const char *compile_info = "Compiled by Debian";
 
 __E__O__F__