rtpbreak: use patch DSL
This commit is contained in:
parent
64f7f787ab
commit
33c9b2817a
1 changed files with 2 additions and 4 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue