aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-17 11:12:54 -0500
committerJack Nagel2014-03-17 11:12:54 -0500
commitf337d628745e1c0a13cd450f219c6eefbcce90e6 (patch)
treebeeb6e3b19a1e5c86eb1dbe9f90b6e84b93b3852 /Library/Formula
parente4c1858ce014b5cb8c0ab6dc752b26211926fd84 (diff)
downloadhomebrew-f337d628745e1c0a13cd450f219c6eefbcce90e6.tar.bz2
daemon: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/daemon.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/daemon.rb b/Library/Formula/daemon.rb
index 2acfccf76..4da68fcec 100644
--- a/Library/Formula/daemon.rb
+++ b/Library/Formula/daemon.rb
@@ -5,10 +5,11 @@ class Daemon < Formula
url 'http://libslack.org/daemon/download/daemon-0.6.4.tar.gz'
sha1 'fa6298f05f868d54660a7ed70c05fb7a0963a24b'
- def patches
- # fixes for mavericks strlcpy/strlcat: https://trac.macports.org/ticket/42845
- {:p1 => "https://trac.macports.org/raw-attachment/ticket/42845/daemon-0.6.4-ignore-strlcpy-strlcat.patch"} if MacOS.version == :mavericks
- end
+ # fixes for mavericks strlcpy/strlcat: https://trac.macports.org/ticket/42845
+ patch do
+ url "https://trac.macports.org/raw-attachment/ticket/42845/daemon-0.6.4-ignore-strlcpy-strlcat.patch"
+ sha1 "8330e7a2df1b8a37b440709c26baf55df251bc56"
+ end if MacOS.version == :mavericks
def install
system "./config"