aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-26 23:01:43 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-03 15:28:06 +0200
commitb5b08878b662a856117accb2df3c6c79d646bb14 (patch)
treee583a556c13f60e783c96c0ed428df14541cf1c3 /gnu/packages/patches
parent9161ba818d14461c8a13afd3dc367b7a4c06ad62 (diff)
downloadguix-b5b08878b662a856117accb2df3c6c79d646bb14.tar
guix-b5b08878b662a856117accb2df3c6c79d646bb14.tar.gz
gnu: mutt: Don't retain reference to GCC.
* gnu/packages/patches/mutt-store-references.patch: New file. * gnu/packages/mail.scm (mutt)[source]: Use it. * gnu-system.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/mutt-store-references.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/mutt-store-references.patch b/gnu/packages/patches/mutt-store-references.patch
new file mode 100644
index 0000000000..3b69c7b0bd
--- /dev/null
+++ b/gnu/packages/patches/mutt-store-references.patch
@@ -0,0 +1,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"
+