aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2013-12-28 10:51:54 -0600
committerBrett Koonce2014-02-08 23:00:11 -0600
commit3270e9b65bfa27ba03cec571ee4699814ea5213f (patch)
tree40f6c9034889097e727780cfd92516eef8c4cdba /Library/Formula
parent232fd3afc3ae5e94cea7e3c31c552b4ef3e71d46 (diff)
downloadhomebrew-3270e9b65bfa27ba03cec571ee4699814ea5213f.tar.bz2
montage: fix void return-type
Closes #25515. Closes #25517.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/montage.rb18
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);