diff options
| author | Lifepillar | 2013-11-02 21:55:31 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-11-03 16:15:20 +0800 |
| commit | 37ae92c3a4d6faf5462260ab6599baf359102fc6 (patch) | |
| tree | c2538ba9d4b659e6a0268d22fb44bd40eb9baca9 /Library | |
| parent | b4a1d2b615120e30619960d2141ed166dd06d274 (diff) | |
| download | homebrew-37ae92c3a4d6faf5462260ab6599baf359102fc6.tar.bz2 | |
ledger: remove unneeded HEAD patch.
The patch has been pushed upstream, so it is not needed any longer.
Closes #23903.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ledger.rb | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Library/Formula/ledger.rb b/Library/Formula/ledger.rb index 366cd46fe..9640d60f0 100644 --- a/Library/Formula/ledger.rb +++ b/Library/Formula/ledger.rb @@ -26,12 +26,6 @@ class Ledger < Formula depends_on 'gmp' depends_on :python => :optional - # Fix HEAD to be compatible with Clang and libc++ on Mavericks. - # See: http://article.gmane.org/gmane.comp.finance.ledger.general/5268 - if build.head? and MacOS.version >= :mavericks - def patches; DATA end - end - def install opoo "Homebrew: Sorry, python bindings for --HEAD seem not to install. Help us fixing this!" if build.with? 'python' @@ -65,31 +59,3 @@ class Ledger < Formula end end end - -__END__ -diff --git a/src/account.h b/src/account.h -index daeee03..b726fac 100644 ---- a/src/account.h -+++ b/src/account.h -@@ -310,7 +310,7 @@ void put_account(property_tree::ptree& pt, const account_t& acct, - - //simple struct added to allow std::map to compare accounts in the accounts report - struct account_compare { -- bool operator() (const account_t& lhs, const account_t& rhs){ -+ bool operator() (const account_t& lhs, const account_t& rhs) const { - return (lhs.fullname().compare(rhs.fullname()) < 0); - } - }; -diff --git a/src/commodity.h b/src/commodity.h -index a1988a3..d521d80 100644 ---- a/src/commodity.h -+++ b/src/commodity.h -@@ -353,7 +353,7 @@ void put_commodity(property_tree::ptree& pt, const commodity_t& comm, - - //simple struct to allow std::map to compare commodities names - struct commodity_compare { -- bool operator() (const commodity_t* lhs, const commodity_t* rhs){ -+ bool operator() (const commodity_t* lhs, const commodity_t* rhs) const { - return (lhs->symbol().compare(rhs->symbol()) < 0); - } - }; |
