Browse Source

Merge pull request #5136 from lynxis/rb_avrdude

avrdude: add no timestamp patch to make it reproducible
lilik-openwrt-22.03
Ted Hess 7 years ago
committed by GitHub
parent
commit
8170176bc0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions
  1. +1
    -1
      utils/avrdude/Makefile
  2. +21
    -0
      utils/avrdude/patches/020-no-cpp-timestamps.patch

+ 1
- 1
utils/avrdude/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=avrdude PKG_NAME:=avrdude
PKG_VERSION:=6.3 PKG_VERSION:=6.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME) PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)


+ 21
- 0
utils/avrdude/patches/020-no-cpp-timestamps.patch View File

@ -0,0 +1,21 @@
Description: no CPP macro timestamps
Reporducible builds project support, see:
http://wiki.debian.org/ReproducibleBuilds/TimestampsFromCPPMacros
Author: Milan Kupcevic <milan@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/main.c
+++ b/main.c
@@ -679,10 +679,10 @@
* 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);

Loading…
Cancel
Save