aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dia.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/dia.rb b/Library/Formula/dia.rb
index a9f17493f..1d6437f3b 100644
--- a/Library/Formula/dia.rb
+++ b/Library/Formula/dia.rb
@@ -14,6 +14,8 @@ class Dia < Formula
def install
ENV.x11
+ # fix for Leopard, potentially others with isspecial defined elswhere
+ inreplace 'objects/GRAFCET/boolequation.c', 'isspecial', 'char_isspecial'
system "./configure", "--enable-debug=no",
"--disable-dependency-tracking",
"--prefix=#{prefix}"