pdf2htmlex: revision for giflib

This commit is contained in:
FX Coudert 2017-04-05 20:01:52 +02:00 committed by ilovezfs
parent 45b2bfb028
commit 0e3ffd7a28

View file

@ -42,6 +42,10 @@ class Pdf2htmlex < Formula
def install
resource("fontforge").stage do
# Fix for incomplete giflib 5 support, see
# https://github.com/coolwanglu/pdf2htmlEX/issues/713
inreplace "gutils/gimagereadgif.c", "DGifCloseFile(gif)", "DGifCloseFile(gif, NULL)"
args = %W[
--prefix=#{prefix}/fontforge
--without-libzmq