diff options
| author | Adam Vandenberg | 2014-05-15 21:14:13 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-15 21:14:13 -0700 |
| commit | 4683b81d1174b314d5dd08573604e4a2d7595f65 (patch) | |
| tree | 4d186b3e87997990552b2246b0828075e1b0afdb /Library/Formula | |
| parent | 12a8123534d817375b4c880ac77142c40c3113c2 (diff) | |
| download | homebrew-4683b81d1174b314d5dd08573604e4a2d7595f65.tar.bz2 | |
jove: use MacPorts patch instead of inreplace
Closes #29286.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jove.rb | 8 |
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 |
