aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXiyue Deng2013-10-28 15:50:49 -0700
committerXiyue Deng2013-10-28 16:22:11 -0700
commit0e6aa7649a487a2b8a77872739bb65626739fa2b (patch)
treef239d89ff0678347aa6b4f8e1bd342af44e232a7 /Library
parentd52d903748f3b5e52e4f62e3595fc82e892beb0d (diff)
downloadhomebrew-0e6aa7649a487a2b8a77872739bb65626739fa2b.tar.bz2
qpdf: Fix build with Clang/libc++.
* Reference patch from my upstream PR: https://github.com/qpdf/qpdf/pull/21. Closes #23412.
Diffstat (limited to 'Library')
-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"