qpdf: Fix build with Clang/libc++.

* Reference patch from my upstream PR:
  https://github.com/qpdf/qpdf/pull/21.

Closes Homebrew/homebrew#23412.
This commit is contained in:
Xiyue Deng 2013-10-28 15:50:49 -07:00
parent 9fb40eee20
commit 42519e064c

View file

@ -7,6 +7,12 @@ class Qpdf < Formula
depends_on 'pcre'
# Fix building using Clang and libc++
# https://github.com/qpdf/qpdf/issues/19
def patches
'https://github.com/qpdf/qpdf/pull/21.diff'
end
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"