From 756f95d957bd6e88eef1aea6c49a0018e1f4667d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 20 Mar 2014 14:05:19 -0500 Subject: rtpbreak: use patch DSL --- Library/Formula/rtpbreak.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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}" -- cgit v1.2.3