daemon: fix mavericks strlcpy/strcat

Patch from macports (thanks to mbogosian): https://trac.macports.org/ticket/42845

Closes Homebrew/homebrew#25455.
Closes Homebrew/homebrew#27585.
master
Brett Koonce 2014-03-15 15:00:03 -05:00
parent 9b43634f35
commit a90c2a2509
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +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
def install
system "./config"
system "make"