File: reproducible-build.patch

package info (click to toggle)
python-clips 1.0.7.348%2Bclips-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,376 kB
  • ctags: 2,544
  • sloc: ansic: 17,065; python: 5,668; sh: 20; makefile: 12
file content (14 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Sort source files for deterministic linking order

--- a/setup.py
+++ b/setup.py
@@ -780,7 +780,7 @@
     'userfunctions.c',
     ]
 
-all_clipssrc = glob(_p(ClipsLIB_dir, '*.c'))
+all_clipssrc = sorted(glob(_p(ClipsLIB_dir, '*.c')))
 main_clipssrc = ['clipsmodule.c', 'clips_or.c']
 for x in all_clipssrc:
     if os.path.basename(x) in TO_REMOVE: