aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorIan Gable2013-12-23 11:44:51 +0000
committerMike McQuaid2013-12-23 11:44:54 +0000
commit909565ad52b88db013b47b9e2575016f4890048a (patch)
tree481c3d4a22afd34600016fb4316e287d7252e3aa /Library
parent751ef4fb6a6285ecbbb10debc9c3bcfcbd7cf3ae (diff)
downloadhomebrew-909565ad52b88db013b47b9e2575016f4890048a.tar.bz2
web100clt: fix build on Mavericks.
With the new default secure strlcpy/strlcat functions in 10.9 web100clt no longer builds. In order to get it to build we need to patch to remove the package defined version of strlcpy/strlcat. This should be a temporary fix until it can be fixed upstream Upstream issue: http://code.google.com/p/ndt/issues/detail?id=106 Closes #25093. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/web100clt.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/web100clt.rb b/Library/Formula/web100clt.rb
index f63076ec4..304e94db6 100644
--- a/Library/Formula/web100clt.rb
+++ b/Library/Formula/web100clt.rb
@@ -5,6 +5,14 @@ class Web100clt < Formula
url 'http://software.internet2.edu/sources/ndt/ndt-3.6.5.2.tar.gz'
sha1 '533a7dbb1b660a0148a0e295b481f63ab9ecb8f7'
+ if MacOS.version >= :mavericks
+ def patches
+ # fixes issue with new default secure strlcpy/strlcat functions in 10.9
+ # https://code.google.com/p/ndt/issues/detail?id=106
+ "https://gist.github.com/igable/8077668/raw/4475e6e653f080be111fa0a3fd649af42fa14c3d/ndt-3.6.5.2-osx-10.9.patch"
+ end
+ end
+
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",