From cd9c98b77e46ae1eb8c297ddcd80db48745b00a4 Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Fri, 11 Apr 2014 16:07:51 -0700 Subject: Use .diff instead of .patch for github commit sourced patches This modifies multiple formulae in a single commit, replacing the patch suffix with diff per #28315. I used the following command: ~~~ sed -i -e 's@patch"$@diff"@' `grep -rlI 'commit.*patch"$' .` ~~~ The patch shasums are then computed using: ~~~ brew fetch --build-from-source `git st | sed -e 's@^ M@@'` ~~~ and manually updated. Fixes #28315. Fixes #28335. Closes #28339. Signed-off-by: Jack Nagel --- Library/Formula/geoipupdate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/geoipupdate.rb') diff --git a/Library/Formula/geoipupdate.rb b/Library/Formula/geoipupdate.rb index a7258b813..57b8b9dbd 100644 --- a/Library/Formula/geoipupdate.rb +++ b/Library/Formula/geoipupdate.rb @@ -9,8 +9,8 @@ class Geoipupdate < Formula # Fixes use of getline on pre-Lion; will be in next release patch do - url "https://github.com/maxmind/geoipupdate/commit/bdf11969f4c7c6b173466092287a2fdbd485b248.patch" - sha1 "845aed21e187cd1fe1a60b029ff8ac13284c7cea" + url "https://github.com/maxmind/geoipupdate/commit/bdf11969f4c7c6b173466092287a2fdbd485b248.diff" + sha1 "80a8dd08ccbcd1c1d73c1bff6b5ce62adc254b96" end end -- cgit v1.2.3