xsane: use checksummed patches

This commit is contained in:
Jack Nagel 2014-03-16 21:35:24 -05:00
parent 24a050bed7
commit f66db9b76a

View file

@ -9,11 +9,10 @@ class Xsane < Formula
depends_on 'gtk+'
depends_on 'sane-backends'
def patches
# Needed to compile against libpng 1.5
{:p0 =>
"https://trac.macports.org/export/113352/trunk/dports/graphics/xsane/files/patch-src__xsane-save.c-libpng15-compat.diff"
}
# Needed to compile against libpng 1.5
patch :p0 do
url "https://trac.macports.org/export/113352/trunk/dports/graphics/xsane/files/patch-src__xsane-save.c-libpng15-compat.diff"
sha1 "c303b09c3007a12557095cf2e2a2d3328dd4cf07"
end
def install