--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2020-05-14 11:46:34.767301041 +0100 @@ -0,0 +1,17 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-05-14 + +--- wolfssl-4.4.0+dfsg.orig/configure.ac ++++ wolfssl-4.4.0+dfsg/configure.ac +@@ -14,10 +14,6 @@ AC_CONFIG_AUX_DIR([build-aux]) + # want the default "-g -O2" that AC_PROG_CC sets automatically. + : ${CFLAGS=""} + +-# Test ar for the "U" option. Should be checked before the libtool macros. +-xxx_ar_flags=$(ar --help 2>&1) +-AS_CASE([$xxx_ar_flags],[*'use actual timestamps and uids/gids'*],[: ${AR_FLAGS="Ucru"}]) +- + AC_PROG_CC + AM_PROG_CC_C_O + AC_CANONICAL_HOST --- a/debian/patches/series 2020-05-14 11:05:30.551830206 +0100 --- b/debian/patches/series 2020-05-14 11:46:33.779291193 +0100 @@ -4,3 +4,4 @@ fix-hurd-i386-flags.patch turn-off-fastmath-for-amd64.patch disable-crl-monitor.patch +reproducible-build.patch