aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gpsd.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/gpsd.rb b/Library/Formula/gpsd.rb
index b51b53527..bf9078eda 100644
--- a/Library/Formula/gpsd.rb
+++ b/Library/Formula/gpsd.rb
@@ -8,8 +8,9 @@ class Gpsd < Formula
depends_on 'scons' => :build
depends_on 'libusb' => :optional
- def patches
- {:p0 => "https://trac.macports.org/export/113474/trunk/dports/net/gpsd/files/string.patch"}
+ patch :p0 do
+ url "https://trac.macports.org/export/113474/trunk/dports/net/gpsd/files/string.patch"
+ sha1 "7f6bacc0379282bf27b05d754807000680befb26"
end
def install