opened
mizunashi-mana
username_0
- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)?
- [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?
- [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?
- [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)?

-----
resolve #33385  

Include https://github.com/ghc/ghc/commit/a257782f56e5e330349d4cc7db71e297d8396c67 and exclude HTML and PDF documents from build.
ghc: Support sphinx >= 1.8
issue
created
commitay
username_1
Why?
comment
created
mizunashi-mana
username_0
I thought HTML and PDF usually should be not included, but official GHC package includes them.  So, this is my miss.  Sorry.

I added `patch :DATA`.
comment
created
fxcoudert
username_2
Instead of using `patch :DATA`, can we use a `patch do` block with the commit diff `https://github.com/ghc/ghc/commit/a257782f.diff?full_index=1`
comment
created
mizunashi-mana
username_0
@username_2 https://github.com/ghc/ghc/commit/a257782f56e5e330349d4cc7db71e297d8396c67 is for GHC 8.6.1 and cannot be straightforward applied for GHC 8.4.x.  I have less knowledge for patching.  Are there any solutions?
comment
created
fxcoudert
username_2
PL we'll keep the patch as-is then.
comment