justniffer: use patch DSL

This commit is contained in:
Jack Nagel 2014-03-19 12:07:54 -05:00
parent 7c4ccce06f
commit 2640ca9022

View file

@ -27,9 +27,7 @@ class Justniffer < Formula
# I submitted this patch to the upstream author, Oreste Notelli, on
# 2011-12-22, so this patch will probably not be necessary with future
# justniffer versions after 0.5.11.
def patches
DATA
end
patch :DATA
def install
system "./configure", "--prefix=#{prefix}"