010-remove-build-date.patch 372 B

123456789101112131415
  1. From: Santiago Vila <sanvila@debian.org>
  2. Subject: Remove (optional) build date to make the build reproducible
  3. Bug-Debian: http://bugs.debian.org/779042
  4. --- a/unix/unix.c
  5. +++ b/unix/unix.c
  6. @@ -1020,7 +1020,7 @@ void version_local()
  7. /* Define the compile date string */
  8. -#ifdef __DATE__
  9. +#if 0
  10. # define COMPILE_DATE " on " __DATE__
  11. #else
  12. # define COMPILE_DATE ""