010-remove-build-date.patch 383 B

1234567891011121314151617
  1. From: Jérémy Bobbio <lunar@debian.org>
  2. Subject: Remove build date
  3. Bug-Debian: https://bugs.debian.org/782851
  4. In order to make unzip build reproducibly, we remove the
  5. (already optional) build date from the binary.
  6. --- a/unix/unix.c
  7. +++ b/unix/unix.c
  8. @@ -1705,7 +1705,7 @@
  9. #endif /* Sun */
  10. #endif /* SGI */
  11. -#ifdef __DATE__
  12. +#if 0
  13. " on ", __DATE__
  14. #else
  15. "", ""