aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qpdf.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/qpdf.rb b/Library/Formula/qpdf.rb
index dd84e85a8..5b0ca10f5 100644
--- a/Library/Formula/qpdf.rb
+++ b/Library/Formula/qpdf.rb
@@ -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"