aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKrzysztof Wilczynski2014-10-15 23:42:07 +0100
committerJack Nagel2014-10-19 01:59:46 -0500
commit3f676ffa48c63582bc119a9cba55e2abddc94727 (patch)
tree309a8e6f6be1b99d4311ae4579d967c070a4a9d9 /Library/Formula
parent92a3f8a805dcbd0fc21a44e27439baa9a11b5347 (diff)
downloadhomebrew-3f676ffa48c63582bc119a9cba55e2abddc94727.tar.bz2
libmagic 5.20
Closes #33196. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmagic.rb14
1 files changed, 11 insertions, 3 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb
index 6940488b7..773ea22f0 100644
--- a/Library/Formula/libmagic.rb
+++ b/Library/Formula/libmagic.rb
@@ -2,9 +2,9 @@ require 'formula'
class Libmagic < Formula
homepage 'http://www.darwinsys.com/file/'
- url 'ftp://ftp.astron.com/pub/file/file-5.19.tar.gz'
- mirror 'http://fossies.org/unix/misc/file-5.19.tar.gz'
- sha1 '0dff09eb44fde1998be79e8d312e9be4456d31ee'
+ url 'ftp://ftp.astron.com/pub/file/file-5.20.tar.gz'
+ mirror 'http://fossies.org/unix/misc/file-5.20.tar.gz'
+ sha1 '4e93e9ae915f1812b05cc6012ae968fdb6416f8f'
bottle do
sha1 "35a401959b3925929ef220a35712a1a5f6f42ad9" => :mavericks
@@ -20,6 +20,14 @@ class Libmagic < Formula
# See http://bugs.gw.com/view.php?id=230
patch :DATA if MacOS.version < :lion
+ # Fixed upstream, should be in next release.
+ # See: http://bugs.gw.com/view.php?id=387
+ # http://bugs.gw.com/view.php?id=388
+ patch :p1 do
+ url 'https://gist.githubusercontent.com/kwilczynski/350e83c291b536ce9b5b/raw/1961a222d13cd3e010ecd7b0ebbc6909def27ad6/337-338.diff'
+ sha1 'b220e2b0639cba97296e25c07c58a4d675104c8f'
+ end
+
def install
ENV.universal_binary if build.universal?