From ea2a0a81547323e8e055dbfc86bab66c7bb060f2 Mon Sep 17 00:00:00 2001 From: Adam Mckaig Date: Sun, 19 Mar 2017 15:33:01 -0400 Subject: [PATCH] avra: avoid "abort trap 6" crash Closes #11285. Signed-off-by: FX Coudert --- Formula/avra.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Formula/avra.rb b/Formula/avra.rb index 1bea2cc55a..5916aa3b7a 100644 --- a/Formula/avra.rb +++ b/Formula/avra.rb @@ -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