ddd: add patch for 10.9 build.
Closes Homebrew/homebrew#22462. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>master
parent
985c09beeb
commit
e6fa7ebde5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue