diff options
| author | Mike McQuaid | 2013-09-14 09:02:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-14 09:02:22 +0100 |
| commit | 63ff8e497ad5d963f01474a3031dad08c6a69dda (patch) | |
| tree | de416d82ff76e059c960b9f019849485237b979f /Library | |
| parent | b73353024cd278c54bb35fa6343eb7e69e6ada78 (diff) | |
| download | homebrew-63ff8e497ad5d963f01474a3031dad08c6a69dda.tar.bz2 | |
ddd: use linked rather than inline patch.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ddd.rb | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/Library/Formula/ddd.rb b/Library/Formula/ddd.rb index 10b833ad8..9c78b4997 100644 --- a/Library/Formula/ddd.rb +++ b/Library/Formula/ddd.rb @@ -9,7 +9,13 @@ class Ddd < Formula depends_on 'lesstif' depends_on :x11 - def patches; DATA; end + def patches + if MacOS.version >= :mavericks + # Needed for OSX 10.9 DP6 build failure: + # https://savannah.gnu.org/patch/?8178 + { :p0 => 'https://savannah.gnu.org/patch/download.php?file_id=29114' } + end + end def install system "./configure", "--disable-debug", @@ -29,18 +35,3 @@ class Ddd < Formula mv bin/'dddexe', bin/'ddd' end end - -__END__ -diff --git a/ddd/VSLDefList.C b/ddd/VSLDefList.C -index 55c1778..3dfc6a7 100644 ---- a/ddd/VSLDefList.C -+++ b/ddd/VSLDefList.C -@@ -60,7 +60,7 @@ const Box *VSLDefList::eval(Box *arg) const - { - std::ostringstream s; - s << *arg; -- VSLLib::eval_error("no suiting definition for " + f_name() + s); -+ VSLLib::eval_error("no suiting definition for " + f_name() + s.str().c_str()); - } - - return d ? d->eval(arg) : 0; |
