File: reproducible-build.patch

package info (click to toggle)
python-axolotl-curve25519 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 636 kB
  • ctags: 290
  • sloc: ansic: 4,750; python: 25; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Sort list of source files for deterministic linking order
Last-Update: 2016-11-05

--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@
 sources.extend(glob("curve/ed25519/nacl_sha512/*.c"))
 #headers = ['curve25519-donna.h']
 module_curve = Extension('axolotl_curve25519',
-                    sources = sources,
+                    sources = sorted(sources),
 #                   headers = headers,
                     include_dirs = [
                       'curve/ed25519/nacl_includes',