~ruther/guix-local

ref: 1ad4e366efb1cc18e35792f7514ece25c2fb5e7c guix-local/gnu/packages/patches/mutt-store-references.patch -rw-r--r-- 516 bytes
1ad4e366 — Leo Famulari gnu: go-github-com-pkg-errors: Update to 0.0.0-1.e881fd5. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
By default 'mutt' embeds configure flags and the output of 'gcc -v',
which contains the store file name of Bash and GCC.  This patch makes
sure we don't embed a reference to these in 'mutt'.

--- mutt-1.5.23/txt2c.sh	2015-06-26 22:56:56.500731643 +0200
+++ mutt-1.5.23/txt2c.sh	2015-06-26 22:57:26.664583900 +0200
@@ -21,6 +21,8 @@ txt2c_fallback () {
 	echo ";"
 }
 
+echo "unsigned char $1[] = \"value of '$1' not kept\";"
+exit 0
 ./txt2c test </dev/null >/dev/null 2>&1 &&
 ./txt2c "$1" ||
 txt2c_fallback "$1"