From 742dacb011346ba3d73fe3b11a8277d5eee2df82 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Mar 2014 16:24:11 -0500 Subject: wordplay: use checksummed patches --- Library/Formula/wordplay.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Library') diff --git a/Library/Formula/wordplay.rb b/Library/Formula/wordplay.rb index 5662a9690..e363fc243 100644 --- a/Library/Formula/wordplay.rb +++ b/Library/Formula/wordplay.rb @@ -6,12 +6,11 @@ class Wordplay < Formula version '7.22' sha1 '629b4a876b6be966be7ddde7ccdfaa89fc226942' - def patches - # Fixes compiler warnings on Darwin - # Point to words file in share - { :p0 => [ - "https://trac.macports.org/export/101903/trunk/dports/games/wordplay/files/patch-wordplay.c" - ]} + # Fixes compiler warnings on Darwin + # Point to words file in share + patch :p0 do + url "https://trac.macports.org/export/101903/trunk/dports/games/wordplay/files/patch-wordplay.c" + sha1 "fe330ca634826cf0dedb7a106945efdee260ac2d" end def install -- cgit v1.2.3