From 0e6aa7649a487a2b8a77872739bb65626739fa2b Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Mon, 28 Oct 2013 15:50:49 -0700 Subject: qpdf: Fix build with Clang/libc++. * Reference patch from my upstream PR: https://github.com/qpdf/qpdf/pull/21. Closes #23412. --- Library/Formula/qpdf.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3