From 1c83889f8f8e6613b40c9339d0bacceded3155f8 Mon Sep 17 00:00:00 2001
From: Joerg Wunsch <j@uriah.heep.sax.de>
Date: Mon, 13 Nov 2017 16:47:51 +0000
Subject: [PATCH] bug #48084: Avoid compiled-in timestamp for reproducible
 release builds

Remove "compiled on/at" string in main.c.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1396 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 ChangeLog | 5 +++++
 NEWS      | 1 +
 main.c    | 4 ++--
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8252c9fe..6178c51a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-13  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
+
+	bug #48084: Avoid compiled-in timestamp for reproducible release builds
+	* main.c: Remove "compiled on/at" string
+
 2017-03-05  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
 
 	bug #47718: "lfuse reads as" not displayed in verbose mode - SOLUTION
diff --git a/NEWS b/NEWS
index db0c7e15..18f3bdbe 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,7 @@ Current:
   * Bugfixes:
     bug #47550: Linux GPIO broken
     bug #47718: "lfuse reads as" not displayed in verbose mode - SOLUTION
+    bug #48084: Avoid compiled-in timestamp for reproducible release builds
 
   * Internals:
 
diff --git a/main.c b/main.c
index 7232e4f2..abd96555 100644
--- a/main.c
+++ b/main.c
@@ -679,10 +679,10 @@ int main(int argc, char * argv [])
    * Print out an identifying string so folks can tell what version
    * they are running
    */
-  avrdude_message(MSG_NOTICE, "\n%s: Version %s, compiled on %s at %s\n"
+  avrdude_message(MSG_NOTICE, "\n%s: Version %s\n"
                     "%sCopyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/\n"
                     "%sCopyright (c) 2007-2014 Joerg Wunsch\n\n",
-                    progname, version, __DATE__, __TIME__, progbuf, progbuf);
+                    progname, version, progbuf, progbuf);
   avrdude_message(MSG_NOTICE, "%sSystem wide configuration file is \"%s\"\n",
             progbuf, sys_config);