diff options
| author | Michael Koval | 2011-12-24 03:32:03 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2012-01-22 09:32:10 -0800 |
| commit | 362d7f7a6287a2281f5932bf4aab04458f397cac (patch) | |
| tree | b2208e5c572abb3637f1a36c4c821baa067ee388 /Library | |
| parent | c52bac0b663f5f8d48595a1413fa879a7c91bfa5 (diff) | |
| download | homebrew-362d7f7a6287a2281f5932bf4aab04458f397cac.tar.bz2 | |
octave: add upstream patch to fix broken build
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/octave.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb index 1b6cc95ad..6376192ef 100644 --- a/Library/Formula/octave.rb +++ b/Library/Formula/octave.rb @@ -62,6 +62,14 @@ class Octave < Formula ] end + def patches + # Upstream patch that fixes a bug that causes the build to fail when BSD + # sed is used instead of GNU sed. See changeset 13791:4cf7356a99d0. See + # http://hg.savannah.gnu.org/hgweb/octave/rev/4cf7356a99d0 for more + # information. + DATA + end + def install ENV.fortran @@ -109,3 +117,15 @@ class Octave < Formula s = native_caveats + s unless no_native? end end + +__END__ +--- a/src/find-defun-files.sh Wed Nov 02 09:24:48 2011 -0700 ++++ b/src/find-defun-files.sh Wed Nov 02 12:40:29 2011 -0400 +@@ -21,6 +21,6 @@ + file="$srcdir/$arg" + fi + if [ "`$EGREP -l "$DEFUN_PATTERN" $file`" ]; then +- echo "$file" | $SED 's,.*/,,; s/\.\(cc\|yy\|ll\)$/.df/'; ++ echo "$file" | $SED 's,.*/,,; s/\.cc$/.df/; s/\.ll$/.df/; s/\.yy$/.df/'; + fi + done |
