File: reproducible.patch

package info (click to toggle)
hello 2.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,812 kB
  • sloc: ansic: 11,081; sh: 6,444; makefile: 102; sed: 16
file content (15 lines) | stat: -rw-r--r-- 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Hardcode COPYRIGHT_YEAR to make the build reproducible
Author: Santiago Vila <sanvila@debian.org>
Last-Update: 2025-04-12

--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@
 
 dnl Copyright will apply as long as these sources are in use, e.g., are
 dnl being compiled, which is reasonable year to claim the copyright.
-AC_DEFINE([COPYRIGHT_YEAR], [m4_esyscmd([date +%Y])], [year in copyright message])
+AC_DEFINE([COPYRIGHT_YEAR], [2025], [year in copyright message])
 
 dnl Are we building from git checked-out sources, or a tarball ?
 dnl This is used in "Makefile.am" to avoid re-generating the manpage