From ac799bcf1b729a40ebd15d6b3dda20d3072d602c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 21:35:24 -0500 Subject: [PATCH] web100clt: use checksummed patches --- Formula/web100clt.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Formula/web100clt.rb b/Formula/web100clt.rb index ee8a8da604ff8..3bb8946b168a3 100644 --- a/Formula/web100clt.rb +++ b/Formula/web100clt.rb @@ -5,13 +5,12 @@ 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 + # fixes issue with new default secure strlcpy/strlcat functions in 10.9 + # https://code.google.com/p/ndt/issues/detail?id=106 + patch do + url "https://gist.github.com/igable/8077668/raw/4475e6e653f080be111fa0a3fd649af42fa14c3d/ndt-3.6.5.2-osx-10.9.patch" + sha1 "1423d4b863049b21fcee4ecf9dd0660462406a39" + end if MacOS.version >= :mavericks def install system "./configure", "--disable-debug",