From 6878ba24fc5b4ddf8578179bb10cb6fa33f3c58e Mon Sep 17 00:00:00 2001 From: Simon Walker Date: Sun, 28 Feb 2016 02:37:41 -0300 Subject: [PATCH] montage 4.0 Closes Homebrew/homebrew#49621. Signed-off-by: Dominyk Tiller --- Formula/montage.rb | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/Formula/montage.rb b/Formula/montage.rb index daa4386784..465ff96d1b 100644 --- a/Formula/montage.rb +++ b/Formula/montage.rb @@ -1,36 +1,22 @@ class Montage < Formula desc "Toolkit for assembling FITS images into custom mosaics" homepage "http://montage.ipac.caltech.edu" - url "http://montage.ipac.caltech.edu/download/Montage_v3.3.tar.gz" - sha256 "5403921ec18e29c2a70c1d42fc45b5a982b8a11fe5aa3cd3aa9fc814fcc16a11" + url "http://montage.ipac.caltech.edu/download/Montage_v4.0.tar.gz" + sha256 "de143e4d4b65086f04bb75cf482dfa824965a5a402f3431f9bceb395033df5fe" def install system "make" bin.install Dir["bin/m*"] end - # fix function not being declared void - patch :DATA - def caveats; <<-EOS.undent Montage is under the Caltech/JPL non-exclusive, non-commercial software licence agreement available at: http://montage.ipac.caltech.edu/docs/download.html EOS end -end -__END__ -diff --git a/lib/src/two_plane_v1.1/initdistdata.c b/lib/src/two_plane_v1.1/initdistdata.c -index 0a75b24..8c1b9bb 100644 ---- a/lib/src/two_plane_v1.1/initdistdata.c -+++ b/lib/src/two_plane_v1.1/initdistdata.c -@@ -21,7 +21,7 @@ int openfitsfile(char *fitsfilename) - return 0; - } - --closefitsfile() -+void closefitsfile() - { - int I_fits_return_status=0; - fits_close_file(ffp_FITS_In, &I_fits_return_status); + test do + system bin/"mHdr", "m31", "1", "template.hdr" + end +end