avra: avoid "abort trap 6" crash

Closes #11285.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Adam Mckaig 2017-03-19 15:33:01 -04:00 committed by FX Coudert
parent d07df4bcb1
commit ea2a0a8154

View file

@ -3,6 +3,7 @@ class Avra < Formula
homepage "https://avra.sourceforge.io/"
url "https://downloads.sourceforge.net/project/avra/1.3.0/avra-1.3.0.tar.bz2"
sha256 "a62cbf8662caf9cc4e75da6c634efce402778639202a65eb2d149002c1049712"
revision 1
bottle do
cellar :any_skip_relocation
@ -13,6 +14,13 @@ class Avra < Formula
sha256 "2e208cec5f270c91c9afc0349236a9abb0622e1e8208c67d25c90f017fcecf65" => :mavericks
end
# Crashes with 'abort trap 6' unless this fix is applied.
# See: https://sourceforge.net/p/avra/patches/16/
patch do
url "https://gist.githubusercontent.com/adammck/7e4a14f7dd4cc58eea8afa99d1ad9f5d/raw/5cdbfe5ac310a12cae6671502697737d56827b05/avra-fix-osx.patch"
sha256 "03493058c351cfce0764a8c2e63c2a7b691601dd836c760048fe47ddb9e91682"
end
depends_on "autoconf" => :build
depends_on "automake" => :build