aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libplist.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/libplist.rb b/Library/Formula/libplist.rb
index 2f0ce861d..a0e663d08 100644
--- a/Library/Formula/libplist.rb
+++ b/Library/Formula/libplist.rb
@@ -21,9 +21,10 @@ class Libplist < Formula
depends_on :python => :optional
depends_on 'Cython' => :python if build.with? 'python'
- def patches
- # Upstream patch for compilation on 10.9
- "https://github.com/libimobiledevice/libplist/commit/c56c8103f51c20c6fcf99e8bc9d83c380f503a1b.patch"
+ # Upstream patch for compilation on 10.9
+ patch do
+ url "https://github.com/libimobiledevice/libplist/commit/c56c8103f51c20c6fcf99e8bc9d83c380f503a1b.patch"
+ sha1 "c81bac3eb80fa3fe789bd2453883757ea591c2fd"
end
def install