aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-19 14:59:31 +0100
committerMike McQuaid2015-02-19 15:18:31 +0000
commit1d1f0c98d974217783ea5d47995cb1a8c8100d79 (patch)
tree86a352d76ce5bca2f9d7d8d904d23bfd23524f73 /Library/Formula
parent8f2e36c53a6e899f6095adf225a98b492155a562 (diff)
downloadhomebrew-1d1f0c98d974217783ea5d47995cb1a8c8100d79.tar.bz2
yara 3.3.0
Closes #36964. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yara.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/yara.rb b/Library/Formula/yara.rb
index db1292bf0..f6b7b2bbe 100644
--- a/Library/Formula/yara.rb
+++ b/Library/Formula/yara.rb
@@ -1,9 +1,7 @@
-require "formula"
-
class Yara < Formula
homepage "https://github.com/plusvic/yara/"
- url "https://github.com/plusvic/yara/archive/v3.2.0.tar.gz"
- sha1 "dd1a92b1469cd629f6cd368aec32f207375b125b"
+ url "https://github.com/plusvic/yara/archive/v3.3.0.tar.gz"
+ sha1 "6f72d80f21336c098f9013212d496d3920d9ef18"
head "https://github.com/plusvic/yara.git"
bottle do
@@ -19,6 +17,12 @@ class Yara < Formula
depends_on "pcre"
depends_on "openssl"
+ # fixes a variable redefinition error with clang
+ patch do
+ url "https://github.com/plusvic/yara/pull/261.diff"
+ sha1 "17ed1efbd2c4575109bb7b7e2f0c883795dc3163"
+ end
+
def install
# Use of "inline" requires gnu89 semantics
ENV.append "CFLAGS", "-std=gnu89" if ENV.compiler == :clang