From 38d42cfe6ff6e0836a993e06dab9d63cbb7a3106 Mon Sep 17 00:00:00 2001 From: Brett Koonce Date: Tue, 10 Dec 2013 13:21:34 -0600 Subject: metaproxy 1.4.3 Closes #25120. Signed-off-by: Mike McQuaid --- Library/Formula/metaproxy.rb | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) (limited to 'Library') diff --git a/Library/Formula/metaproxy.rb b/Library/Formula/metaproxy.rb index 82cb41439..3adddb33a 100644 --- a/Library/Formula/metaproxy.rb +++ b/Library/Formula/metaproxy.rb @@ -2,44 +2,16 @@ require 'formula' class Metaproxy < Formula homepage 'http://www.indexdata.com/metaproxy' - url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.4.2.tar.gz' - sha1 '40eae61e5681d4c4b38068c4075854c0a91182b9' + url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.4.3.tar.gz' + sha1 '25ca53ce1b57204940fab21304669f93aa10cd74' depends_on 'pkg-config' => :build depends_on 'yazpp' depends_on 'boost' - # fix building with clang, upstream: - # http://git.indexdata.com/?p=metaproxy.git;a=commitdiff;h=97a7133fc8325a08560a0326f80459ec31f516f6 - def patches; DATA; end - def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end - -__END__ -diff --git a/src/filter_sort.cpp b/src/filter_sort.cpp -index e36e8cd..d6a1993 100644 (file) ---- a/src/filter_sort.cpp -+++ b/src/filter_sort.cpp -@@ -70,7 +70,7 @@ namespace metaproxy_1 { - Record(Z_NamePlusRecord *n, const char *namespaces, - const char *expr, bool debug); - ~Record(); -- bool operator < (const Record &rhs); -+ bool operator < (const Record &rhs) const; - }; - class Sort::RecordList : boost::noncopyable { - Odr_oid *syntax; -@@ -286,7 +286,7 @@ yf::Sort::Record::~Record() - { - } - --bool yf::Sort::Record::operator < (const Record &rhs) -+bool yf::Sort::Record::operator < (const Record &rhs) const - { - if (strcmp(this->score.c_str(), rhs.score.c_str()) < 0) - return true; -- cgit v1.2.3