mighttpd2: fix broken mighttpd2.cabal

Closes #19117.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-10-06 10:15:09 -07:00
parent 75fd085c33
commit ceb01601b6

View file

@ -17,6 +17,13 @@ class Mighttpd2 < Formula
depends_on "ghc" => :build
depends_on "cabal-install" => :build
# Fix "src/Mighty.hs:3:8: error:File name does not match module name"
# Upstream PR from 7 Oct 2017 "mighttpd2.cabal: remove non-existent module"
patch do
url "https://github.com/kazu-yamamoto/mighttpd2/pull/16.patch?full_index=1"
sha256 "372b653d14218016abfee11c170e1e4dd3641a984f8296a802b84c9543629f36"
end
def install
install_cabal_package
end