summaryrefslogtreecommitdiffstats
path: root/debian/patches/Sort-list-of-AUXLIBS-for-reproducible-builds.patch
blob: 3532879b600293ae0f678fc1c15f33cb8f25beaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Mon, 1 Jan 2024 19:45:09 +0100
Subject: Sort list of AUXLIBS for reproducible builds

Forwarded: https://www.mail-archive.com/postfix-users@postfix.org/msg101292.html
---
 makedefs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: postfix/makedefs
===================================================================
--- postfix.orig/makedefs
+++ postfix/makedefs
@@ -184,6 +184,8 @@
 #	New York, NY 10011, USA
 #--
 
+LC_ALL=C; export LC_ALL
+
 # By now all shells must have functions.
 
 error() {
@@ -211,7 +213,7 @@ echo "#---------------------------------
 echo "# Start of summary of user-configurable 'make makefiles' options."
 echo "# CCARGS=$CCARGS"
 echo "# AUXLIBS=$AUXLIBS"
-env | grep '^AUXLIBS_' | sed 's/^/# /'
+env | grep '^AUXLIBS_' | sed 's/^/# /' | sort
 echo "# shared=$shared"
 echo "# dynamicmaps=$dynamicmaps"
 echo "# pie=$pie"