rtpbreak: use patch DSL

This commit is contained in:
Jack Nagel 2014-03-20 14:05:19 -05:00
parent 64f7f787ab
commit 33c9b2817a

View file

@ -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}"