ncftp-reproducible.patch 727 B

123456789101112131415161718192021222324252627282930
  1. Author: Reiner Herrmann <reiner@reiner-h.de>
  2. Date: 2016-07-01 16:00:02 UTC
  3. Bug-Debian: https://bugs.debian.org/829249
  4. make ncftp build reproducible.
  5. diff --git a/ncftp/main.c b/ncftp/main.c
  6. index a7fccac..b27a94e 100644
  7. --- a/ncftp/main.c
  8. +++ b/ncftp/main.c
  9. @@ -62,7 +62,7 @@ static void
  10. Usage(void)
  11. {
  12. FILE *fp;
  13. -#ifdef UNAME
  14. +#if 0
  15. char s[80];
  16. #endif
  17. @@ -76,7 +76,7 @@ Usage(void)
  18. -F Dump a sample $HOME/.ncftp/firewall prefs file to stdout and exit.\n");
  19. (void) fprintf(fp, "\nProgram version: %s\nLibrary version: %s\n", gVersion + 5, gLibNcFTPVersion + 5);
  20. -#ifdef UNAME
  21. +#if 0
  22. AbbrevStr(s, UNAME, 60, 1);
  23. (void) fprintf(fp, "Build system: %s\n", s);
  24. #endif