File: 7-use-C-collation-when-generating-udev-scripts.patch

package info (click to toggle)
openrgb 0.9%2Bgit20251009%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,304 kB
  • sloc: cpp: 197,011; ansic: 1,290; sh: 402; xml: 71; python: 65; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 658 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2025-09-22
Forwarded: not-needed

--- a/scripts/build-udev-rules.sh
+++ b/scripts/build-udev-rules.sh
@@ -61,7 +61,7 @@
 #  Create a list of RGBController.cpp classes including path                  #
 #-----------------------------------------------------------------------------#
 echo -e "Creating file list to parse metadata"
-FILE_LIST=$(find ${CONTROLLER_PATH} -name "RGBController_*.cpp" | sort)
+FILE_LIST=$(find ${CONTROLLER_PATH} -name "RGBController_*.cpp" | LC_ALL=C sort)
 
 #Check the output of the file_list
 # echo -e "$FILE_LIST" >> "file_list.txt"