package/mutt: fix build without makedoc
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 14 Jan 2020 18:01:16 +0000 (19:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Feb 2020 21:18:09 +0000 (22:18 +0100)
commitc311a36cc9a74ec0c566bb747ee0fe3f57612655
treeb93039a923bc9b15556a601ae24e732cb13387af
parent496a43c7779b5c1797390f7b9d56a1457e6acc1a
package/mutt: fix build without makedoc

Cross-compilation of mutt is broken since bump to version 1.13.3 with
commit d42603b3872a0eed5a5a3dda13843fb5835f15a5

Indeed, since upstream commit 9bacbaa9, even with --disable-doc, mutt
tries to generate and install documentation files.
Build fails because mutt wants to generate muttrc.man by building (and
then running) a makedoc binary with the target cross-compiler (which
will obviously fail).

See https://gitlab.com/muttmua/mutt/issues/202

To fix this issue, retrieve two upstream patches.

Fixes:
 - http://autobuild.buildroot.org/results/2b01b7e65c0dc0e1191ba48e02e31503958d82fe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mutt/0001-Convert-makedoc-c-to-makedoc-pl.patch [new file with mode: 0644]
package/mutt/0002-Convert-hcachever-sh-in-to-hcachever-pl.patch [new file with mode: 0644]
package/mutt/mutt.mk