From a90c2a2509a21c626f19942b99a0e24aae4627c9 Mon Sep 17 00:00:00 2001 From: Brett Koonce Date: Sat, 15 Mar 2014 15:00:03 -0500 Subject: [PATCH] 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. --- Formula/daemon.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/daemon.rb b/Formula/daemon.rb index 274877b431a..2acfccf76ff 100644 --- a/Formula/daemon.rb +++ b/Formula/daemon.rb @@ -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"