diff options
| author | Ting-Yu Lin | 2014-09-07 18:16:49 +0800 |
|---|---|---|
| committer | Jack Nagel | 2014-09-07 18:50:40 -0500 |
| commit | 9062ea239de127b9bd6202bf2e4da7a22ba9e29d (patch) | |
| tree | 7f5773cc47b4f2d686b08d47a8413f423643d8fd /Library/Formula/patchutils.rb | |
| parent | 2f36c6f8038f3239f8e83ff5e070b6a34950f21b (diff) | |
| download | homebrew-9062ea239de127b9bd6202bf2e4da7a22ba9e29d.tar.bz2 | |
patchutils: add patch to fix a crash
https://fedorahosted.org/patchutils/ticket/30
Closes #32135.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/patchutils.rb')
| -rw-r--r-- | Library/Formula/patchutils.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/patchutils.rb b/Library/Formula/patchutils.rb index a92985cb7..1b683433f 100644 --- a/Library/Formula/patchutils.rb +++ b/Library/Formula/patchutils.rb @@ -5,6 +5,13 @@ class Patchutils < Formula url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz' sha1 '89d3f8a454bacede1b9a112b3a13701ed876fcc1' + # Fix 'filterdiff --exclude-from-file...' crashes + # https://fedorahosted.org/patchutils/ticket/30 + patch do + url 'https://fedorahosted.org/patchutils/raw-attachment/ticket/30/0001-Provide-NULL-pointer-to-getline-to-avoid-realloc-ing.patch' + sha1 'e787c8df1501feea5c895cdf9e8e01441035bdcf' + end + def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
