aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pgplot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pgplot.rb')
-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