libgcrypt, libgpg-error, busybox: improve determinism

This commit is contained in:
Alexander Kjeldaas
2014-09-13 15:04:43 +02:00
committed by Vladimír Čunát
parent 3bf4362381
commit bee22ab79e
5 changed files with 28 additions and 0 deletions
@@ -14,6 +14,8 @@ stdenv.mkDerivation (rec {
doCheck = true;
patches = [ ./no-build-timestamp.patch ];
meta = {
description = "Libgpg-error, a small library that defines common error values for all GnuPG components";
@@ -0,0 +1,11 @@
diff -ur libgpg-error-1.12.orig/configure libgpg-error-1.12/configure
--- libgpg-error-1.12.orig/configure 2013-06-24 06:42:28.000000000 +0200
+++ libgpg-error-1.12/configure 2014-04-09 00:12:47.867856520 +0200
@@ -14585,6 +14585,7 @@
BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
+BUILD_TIMESTAMP=1970-01-01T00:00+0000
cat >>confdefs.h <<_ACEOF