0002-fix-reproducibility-of-build-process.patch 941 B

1234567891011121314151617181920212223242526272829303132
  1. From 89dd9d8705408dccd5c5e47d22eba6fd6ec22b50 Mon Sep 17 00:00:00 2001
  2. From: Tomasz Buchert <tomasz@debian.org>
  3. Date: Thu, 9 Jul 2015 16:07:23 +0200
  4. Subject: [PATCH] fix reproducibility of build process
  5. The upstream Makefile sets macros that depend on
  6. a particular platform where the package is built.
  7. We don't set them which fixes the problem.
  8. Taken from debian
  9. Upstream-Status: Pending
  10. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  11. ---
  12. src/Makefile.in | 4 +---
  13. 1 file changed, 1 insertion(+), 3 deletions(-)
  14. diff --git a/src/Makefile.in b/src/Makefile.in
  15. index 1993c9b..4392c06 100644
  16. --- a/src/Makefile.in
  17. +++ b/src/Makefile.in
  18. @@ -48,9 +48,7 @@ Makefile: Makefile.in ../config.status
  19. version.o: version.c
  20. - $(CC) $(CFLAGS) -DCOMPILE_HOST="\""`hostname`"\"" \
  21. - -DCOMPILE_DATE="\"`date`\"" \
  22. - -c $(srcdir)/version.c
  23. + $(CC) $(CFLAGS) -c $(srcdir)/version.c
  24. lex.yy.c: calc.lex