--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2020-07-24 11:45:11.440551173 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-07-24 + +--- jskeus-1.2.4+dfsg.orig/irteus/Makefile ++++ jskeus-1.2.4+dfsg/irteus/Makefile +@@ -177,7 +177,7 @@ MKDIR: + + .PHONY: defun.h + defun.h: +- echo '#include "eus.h"\n#undef defun\npointer TEST();\nvoid test(void) {register context *ctx; pointer mod; defun(ctx,"TEST",mod,TEST,NULL);}' > test.c ++ printf '#include "eus.h"\n#undef defun\npointer TEST();\nvoid test(void) {register context *ctx; pointer mod; defun(ctx,"TEST",mod,TEST,NULL);}\n' > test.c + echo "// redefine defun for update defun() API () https://github.com/euslisp/EusLisp/pull/116" > defun.h + echo "#undef defun" >> defun.h + $(CC) $(CFLAGS) $(WFLAGS) -c test.c $(OBJOPT) test.o || echo "#define defun(a, b, c, d, e) defun(a, b, c, d) // for EusLisp < 9.24" >> defun.h --- a/debian/patches/series 2020-07-24 11:29:15.620084291 +0100 --- b/debian/patches/series 2020-07-24 11:45:10.440537576 +0100 @@ -2,3 +2,4 @@ makefile-for-debian.patch fix-make-clean.patch +reproducible-build.patch