minc: revert to 2.1.13

2.2.20 doesn't build on OS X, known upstream

Closes Homebrew/homebrew#22152.
master
Adam Vandenberg 2013-08-27 19:49:05 -07:00
parent cbf2f7a179
commit 33f5c1ee69
1 changed files with 10 additions and 6 deletions

View File

@ -1,21 +1,25 @@
require 'formula'
# 2.2.20 does not build on OS X. See:
# https://github.com/BIC-MNI/minc/pull/16
# https://github.com/mxcl/homebrew/issues/22152
class Minc < Formula
homepage 'http://en.wikibooks.org/wiki/MINC'
url 'https://github.com/BIC-MNI/minc/archive/release-2.2.00.tar.gz'
sha1 'f66f44ece374940bd006f321a7206f16165f74e0'
url 'https://github.com/BIC-MNI/minc/archive/minc-2-1-13.tar.gz'
version '2.1.13'
sha1 '62eeeab62bb5c977e11166d4e43ba384fd029fd1'
head 'https://github.com/BIC-MNI/minc.git'
depends_on 'netcdf'
depends_on 'hdf5'
depends_on :automake
depends_on :libtool
depends_on 'netcdf'
depends_on 'hdf5'
fails_with :clang do
# TODO This is an easy fix, someone send it upstream!
build 421
build 425
cause "Throws 'non-void function 'miget_real_value_hyperslab' should return a value'"
end