From e4b9517ba29336251507b73ff1c4e2348ee3cda4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Mar 2014 10:03:26 -0500 Subject: [PATCH] tinysvm: use checksummed patches --- Formula/tinysvm.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Formula/tinysvm.rb b/Formula/tinysvm.rb index 446fe6de45..c421d394f9 100644 --- a/Formula/tinysvm.rb +++ b/Formula/tinysvm.rb @@ -6,10 +6,9 @@ class Tinysvm < Formula sha1 '9c3c36454c475180ef6646d059376f35549cad08' # Use correct compilation flag - def patches - { :p0 => [ - "https://trac.macports.org/export/94156/trunk/dports/math/TinySVM/files/patch-configure.diff" - ]} + patch :p0 do + url "https://trac.macports.org/export/94156/trunk/dports/math/TinySVM/files/patch-configure.diff" + sha1 "9f59314fa743e98d8fe3e887b58a85f25e4df571" end def install