diff options
| author | gongqijian | 2013-09-11 16:56:45 +0800 | 
|---|---|---|
| committer | Mike McQuaid | 2013-09-14 09:00:07 +0100 | 
| commit | b73353024cd278c54bb35fa6343eb7e69e6ada78 (patch) | |
| tree | 2395ca970562cebab5551f7b429e70913632f487 /Library/Formula/ddd.rb | |
| parent | ddbdacf07ec39dd3ecdcfa281d4663bbb0a80cad (diff) | |
| download | homebrew-b73353024cd278c54bb35fa6343eb7e69e6ada78.tar.bz2 | |
ddd: add patch for 10.9 build.
Closes #22462.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/ddd.rb')
| -rw-r--r-- | Library/Formula/ddd.rb | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/ddd.rb b/Library/Formula/ddd.rb index a9cb8ff2e..10b833ad8 100644 --- a/Library/Formula/ddd.rb +++ b/Library/Formula/ddd.rb @@ -9,6 +9,8 @@ class Ddd < Formula    depends_on 'lesstif'    depends_on :x11 +  def patches; DATA; end +    def install      system "./configure", "--disable-debug",                            "--disable-dependency-tracking", @@ -27,3 +29,18 @@ 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;  | 
