Blame SOURCES/ghc-configure-fix-sphinx-version-check.patch

a43873
--- ghc-8.2.2/configure.ac~	2017-11-21 05:22:42.000000000 +0900
a43873
+++ ghc-8.2.2/configure.ac	2018-05-28 12:37:35.296728423 +0900
a43873
@@ -745,7 +745,7 @@
a43873
 AC_CACHE_CHECK([for version of sphinx-build], fp_cv_sphinx_version,
a43873
 changequote(, )dnl
a43873
 [if test -n "$SPHINXBUILD"; then
a43873
-  fp_cv_sphinx_version=`"$SPHINXBUILD" --version 2>&1 | sed 's/Sphinx\( (sphinx-build)\)\? v\?\([0-9]\.[0-9]\.[0-9]\)/\2/' | head -n1`;
a43873
+  fp_cv_sphinx_version=`"$SPHINXBUILD" --version 2>&1 | sed 's/.* v\?\([0-9]\.[0-9]\.[0-9]\)/\1/' | head -n1`;
a43873
 fi;
a43873
 changequote([, ])dnl
a43873
 ])