From 0e3ffd7a28b28dea66eaf8bdc86c4cf08e0669f3 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Wed, 5 Apr 2017 20:01:52 +0200 Subject: [PATCH] pdf2htmlex: revision for giflib --- Formula/pdf2htmlex.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/pdf2htmlex.rb b/Formula/pdf2htmlex.rb index d1f3644b33..ca5bb21299 100644 --- a/Formula/pdf2htmlex.rb +++ b/Formula/pdf2htmlex.rb @@ -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