diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/montage.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/montage.rb b/Library/Formula/montage.rb index d4ff72927..96456f9d5 100644 --- a/Library/Formula/montage.rb +++ b/Library/Formula/montage.rb @@ -10,6 +10,9 @@ class Montage < Formula bin.install Dir['bin/m*'] end + # fix function not being declared void + def patches; DATA; end + def caveats; <<-EOS.undent Montage is under the Caltech/JPL non-exclusive, non-commercial software licence agreement available at: @@ -17,3 +20,18 @@ class Montage < Formula 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); |
