aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 10:03:26 -0500
committerJack Nagel2014-03-14 12:46:20 -0500
commit9804d6ebee159b1d9df34350a4c8e19d811f2408 (patch)
treec192c41d3281b297743f998a0aa4ea113efa3792 /Library
parent8a704df83bb160567a369289f31f5265071da0aa (diff)
downloadhomebrew-9804d6ebee159b1d9df34350a4c8e19d811f2408.tar.bz2
pgplot: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pgplot.rb15
1 files changed, 9 insertions, 6 deletions
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