blahtexml: add missing includes

Closes Homebrew/homebrew#28996.
master
Adam Vandenberg 2014-05-05 23:14:35 -07:00
parent 1b2c00e28e
commit 7ccf24c718
1 changed files with 11 additions and 0 deletions

View File

@ -9,6 +9,17 @@ class Blahtexml < Formula
depends_on 'xerces-c' unless build.include? 'blahtex-only'
# Add missing unistd.h includes, taken from MacPorts
patch :p0 do
url "https://trac.macports.org/export/119768/trunk/dports/tex/blahtexml/files/patch-mainPng.cpp.diff"
sha1 "9f9312930fed9d8b99ddfceb638f0cdfebfc5b73"
end
patch :p0 do
url "https://trac.macports.org/export/119768/trunk/dports/tex/blahtexml/files/patch-main.cpp.diff"
sha1 "aae4d3f03f450aa09a722b4f3fb4b64de9c62a82"
end
def install
system "make blahtex-mac"
bin.install 'blahtex'