diff options
| author | Brett Koonce | 2013-11-23 19:44:03 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-23 19:04:42 -0800 |
| commit | 3a97815cdf22114d280b660863025537b34c872c (patch) | |
| tree | 58db8ae5bb03ffbc9107a05308acca1a63e40e83 /Library/Formula | |
| parent | c75a4041381ab2801b5877f988d7911270318784 (diff) | |
| download | homebrew-3a97815cdf22114d280b660863025537b34c872c.tar.bz2 | |
metaproxy 1.4.2
Closes #24623.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/metaproxy.rb | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/Library/Formula/metaproxy.rb b/Library/Formula/metaproxy.rb index 62f2f8de2..82cb41439 100644 --- a/Library/Formula/metaproxy.rb +++ b/Library/Formula/metaproxy.rb @@ -2,16 +2,44 @@ require 'formula' class Metaproxy < Formula homepage 'http://www.indexdata.com/metaproxy' - url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.4.0.tar.gz' - sha1 '032c5d5334aa34eb239cdac7b2579d83844ecba2' + url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.4.2.tar.gz' + sha1 '40eae61e5681d4c4b38068c4075854c0a91182b9' 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; |
