mxcl/homebrew — Issue #9827: glib 2.31.8 fails to patch
Author: ben-skelton
Created: 2012-01-28 11:13:35+00:00
State: open

```
Kauri:Formula benskelton$ brew upgrade -vd glib
==> Upgrading glib
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.31/glib-2.31.8.tar.xz
File already downloaded in /Users/benskelton/Library/Caches/Homebrew
xz -dc /Users/benskelton/Library/Caches/Homebrew/glib-2.31.8.tar.xz | /usr/bin/tar xf -
==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.8.1 (Ruby 1.8.7-249; Mac OS X 10.7.2) https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-configure.diff -o 001-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-glib-2.0.pc.in.diff -o 002-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-glib_gunicollate.c.diff -o 003-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-gi18n.h.diff -o 004-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-gio_xdgmime_xdgmime.c.diff -o 005-homebrew.diff https://trac.macports.org/export/87537/trunk/dports/devel/glib2/files/patch-gio_gdbusprivate.c.diff -o 006-homebrew.diff
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p0 -i 001-homebrew.diff
patching file configure
Hunk #1 succeeded at 29846 (offset -639 lines).
Hunk #2 succeeded at 31600 (offset -662 lines).
Hunk #3 succeeded at 31637 (offset -662 lines).
Hunk #4 succeeded at 31673 (offset -662 lines).
Hunk #5 FAILED at 31815.
Hunk #6 FAILED at 31861.
Hunk #7 succeeded at 31832 with fuzz 2 (offset -703 lines).
Hunk #8 succeeded at 31844 (offset -703 lines).
2 out of 8 hunks FAILED -- saving rejects to file configure.rej
```