From 0c9e1eb0a793f67f4e337de6154b794b54720f1d Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Fri, 4 May 2012 11:42:42 -0700 Subject: QPDF: Update to 2.3.1 Also add a patch to workaround a PCRE API function that was removed in 8.30 Fixes #12069. --- Library/Formula/qpdf.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Formula/qpdf.rb b/Library/Formula/qpdf.rb index 36d7bf0a0..3fbb40288 100644 --- a/Library/Formula/qpdf.rb +++ b/Library/Formula/qpdf.rb @@ -1,12 +1,19 @@ require 'formula' class Qpdf < Formula - url 'http://downloads.sourceforge.net/project/qpdf/qpdf/2.3.0/qpdf-2.3.0.tar.gz' + url 'http://downloads.sourceforge.net/project/qpdf/qpdf/2.3.1/qpdf-2.3.1.tar.gz' homepage 'http://qpdf.sourceforge.net/' - md5 'af6d60984055e6a2c988d53c55b1a7ca' + md5 '3d7fdbf3eccf94a3afa6454cf2732f76' depends_on 'pcre' + def patches + # Fix call to depreciated PCRE function. Can probably be removed on next + # release. Upstream issue: + # http://sourceforge.net/tracker/?func=detail&aid=3489349&group_id=224196&atid=1060899 + 'http://sourceforge.net/tracker/download.php?group_id=224196&atid=1060899&file_id=436172&aid=3489349' + end + def install # find Homebrew's libpcre ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" -- cgit v1.2.3