File: reproducible.patch

package info (click to toggle)
fpga-icestorm 0~20160913git266e758-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,628 kB
  • ctags: 1,871
  • sloc: python: 15,333; cpp: 3,356; sh: 1,598; ansic: 531; makefile: 417
file content (23 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Daniel Shahaf <danielsh@apache.org>
Date: Tue, 14 Jun 2016 18:46:08 +0200
Subject: make the build reproducible

Bug-Debian: https://bugs.debian.org/823616
Last-Update: 2016-05-06
---
 icebox/icebox_chipdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icebox/icebox_chipdb.py b/icebox/icebox_chipdb.py
index 8da3d7f..32fcd72 100755
--- a/icebox/icebox_chipdb.py
+++ b/icebox/icebox_chipdb.py
@@ -172,7 +172,7 @@ all_group_segments = ic.group_segments(all_tiles, connect_gb=False)
 print(".device %s %d %d %d" % (ic.device, ic.max_x+1, ic.max_y+1, len(all_group_segments)))
 print()
 
-for key in list(icebox.pinloc_db.keys()):
+for key in sorted(icebox.pinloc_db.keys()):
     key_dev, key_package = key.split("-")
     if key_dev == ic.device:
         print(".pins %s" % (key_package))