File: sort_source_files.patch

package info (click to toggle)
allegro4.4 2%3A4.4.3.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,756 kB
  • sloc: ansic: 164,458; asm: 17,620; cpp: 3,848; javascript: 3,053; objc: 1,687; sh: 1,107; python: 676; pascal: 179; makefile: 54; perl: 29; lisp: 1
file content (15 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (6)
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 reproducible build

--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -4,7 +4,9 @@
 #
 
 file(GLOB PLUGIN_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/plugins/*.c)
+list(SORT PLUGIN_SRCS)
 file(GLOB PLUGIN_INCS ${CMAKE_CURRENT_SOURCE_DIR}/plugins/*.inc)
+list(SORT PLUGIN_INCS)
 
 # XXX support plugin "scripts", i.e. linker arguments.
 # With CMake it should just be the name of a target to link with.