aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 10:03:24 -0500
committerJack Nagel2014-03-14 10:48:40 -0500
commit67831efcefe0995be615f3d44e70342eb5f1977e (patch)
tree0f8145ba32eaff05c72c1580dd982207d228c026 /Library
parent5cf601800df9a621ad6cbf36854c1e15ffef8c3a (diff)
downloadhomebrew-67831efcefe0995be615f3d44e70342eb5f1977e.tar.bz2
libnet: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libnet.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/libnet.rb b/Library/Formula/libnet.rb
index 1c1a5f14f..6bd2b107b 100644
--- a/Library/Formula/libnet.rb
+++ b/Library/Formula/libnet.rb
@@ -18,10 +18,9 @@ class Libnet < Formula
depends_on :libtool
# Fix raw sockets support
- def patches
- {:p0 =>
- "https://trac.macports.org/export/95336/trunk/dports/net/libnet11/files/patch-configure.in.diff"
- }
+ patch :p0 do
+ url "https://trac.macports.org/export/95336/trunk/dports/net/libnet11/files/patch-configure.in.diff"
+ sha1 "f315227dbb205098c6aab92ee9ea17ce87e91384"
end
def install