spades: patch and revision for gcc

Closes #27437.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2018-05-03 10:07:38 +02:00
parent f287093801
commit a4f51428e1

View file

@ -3,7 +3,7 @@ class Spades < Formula
homepage "http://cab.spbu.ru/software/spades/"
url "http://cab.spbu.ru/files/release3.11.1/SPAdes-3.11.1.tar.gz"
sha256 "3ab85d86bf7d595bd8adf11c971f5d258bbbd2574b7c1703b16d6639a725b474"
revision 2
revision 3
bottle do
cellar :any
@ -16,6 +16,13 @@ class Spades < Formula
depends_on "gcc"
depends_on "python@2"
# Fix compilation with GCC 8.1 and later, remove in 3.12
# https://github.com/ablab/spades/pull/106
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/cbb208e3/spades/gcc8-fix.diff"
sha256 "9d0bb51570d0619d3dae0191695eebec60da392d2d38fdc464b1fd063173ca07"
end
fails_with :clang # no OpenMP support
def install