From 8e9a7ce6aa4e20679708fde832cba3213888fde9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 16 Mar 2014 19:35:07 -0500 Subject: [PATCH] ddd: use checksummed patches --- Formula/ddd.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Formula/ddd.rb b/Formula/ddd.rb index 9c78b49971..ee6ced6ee7 100644 --- a/Formula/ddd.rb +++ b/Formula/ddd.rb @@ -9,13 +9,12 @@ class Ddd < Formula depends_on 'lesstif' depends_on :x11 - def patches - if MacOS.version >= :mavericks - # Needed for OSX 10.9 DP6 build failure: - # https://savannah.gnu.org/patch/?8178 - { :p0 => 'https://savannah.gnu.org/patch/download.php?file_id=29114' } - end - end + # Needed for OSX 10.9 DP6 build failure: + # https://savannah.gnu.org/patch/?8178 + patch :p0 do + url "https://savannah.gnu.org/patch/download.php?file_id=29114" + sha1 "4f7406e7698f54f609ced955f0cc90374cc45431" + end if MacOS.version >= :mavericks def install system "./configure", "--disable-debug",