From 9804d6ebee159b1d9df34350a4c8e19d811f2408 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Mar 2014 10:03:26 -0500 Subject: pgplot: use checksummed patches --- Library/Formula/pgplot.rb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Library/Formula/pgplot.rb') diff --git a/Library/Formula/pgplot.rb b/Library/Formula/pgplot.rb index eb378f32d..6a40c4786 100644 --- a/Library/Formula/pgplot.rb +++ b/Library/Formula/pgplot.rb @@ -17,12 +17,15 @@ class Pgplot < Formula version '1.0' end - def patches - # from MacPorts: https://trac.macports.org/browser/trunk/dports/graphics/pgplot/files - {:p0 => [ - "https://trac.macports.org/export/89961/trunk/dports/graphics/pgplot/files/patch-makemake.diff", - "https://trac.macports.org/export/89961/trunk/dports/graphics/pgplot/files/patch-proccom.c.diff", - ]} + # from MacPorts: https://trac.macports.org/browser/trunk/dports/graphics/pgplot/files + patch :p0 do + url "https://trac.macports.org/export/89961/trunk/dports/graphics/pgplot/files/patch-makemake.diff" + sha1 "cb91d933f2350d1a4a33039b61b525db17407ff1" + end + + patch :p0 do + url "https://trac.macports.org/export/89961/trunk/dports/graphics/pgplot/files/patch-proccom.c.diff" + sha1 "8a20d20720ee3ca314331300bb9a87781d69d1d7" end def install -- cgit v1.2.3