aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jove.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/jove.rb b/Library/Formula/jove.rb
index d97acc1d7..9dd4b2435 100644
--- a/Library/Formula/jove.rb
+++ b/Library/Formula/jove.rb
@@ -5,9 +5,13 @@ class Jove < Formula
url "ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/jove4.16.0.73.tgz"
sha1 "fca6f33465b08eed5b90e24cfb67e61bc5249dcf"
- def install
- inreplace %w{insert.c io.c io.h recover.c util.h}, "getline", "jove_getline"
+ # Per MacPorts, avoid clash with libc getline
+ patch :p0 do
+ url "https://trac.macports.org/export/120116/trunk/dports/editors/jove/files/patch-getline.diff"
+ sha1 "7d3632ddf46cece9d39c2e02b020259d8b2bf49e"
+ end
+ def install
bin.mkpath
man1.mkpath
(lib/"jove").mkpath