aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rtpbreak.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:19 -0500
committerJack Nagel2014-03-20 21:44:13 -0500
commit756f95d957bd6e88eef1aea6c49a0018e1f4667d (patch)
tree891973d93da2bf8b1380e32a7c7f019ad04d2a93 /Library/Formula/rtpbreak.rb
parente95486185443ca2278c8b18ede13b323b3d39488 (diff)
downloadhomebrew-756f95d957bd6e88eef1aea6c49a0018e1f4667d.tar.bz2
rtpbreak: use patch DSL
Diffstat (limited to 'Library/Formula/rtpbreak.rb')
-rw-r--r--Library/Formula/rtpbreak.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/rtpbreak.rb b/Library/Formula/rtpbreak.rb
index 321c0329d..88b769783 100644
--- a/Library/Formula/rtpbreak.rb
+++ b/Library/Formula/rtpbreak.rb
@@ -7,10 +7,8 @@ class Rtpbreak < Formula
depends_on 'libnet'
- def patches
- # main.c is missing the netinet/udp.h header; reported upstream by email
- {:p0 => DATA}
- end
+ # main.c is missing the netinet/udp.h header; reported upstream by email
+ patch :p0, :DATA
def install
system "make", "CC=#{ENV.cc}"