mxcl/homebrew — Issue #9102: GTK+ install fails, 404 downloading patch.
Author: boxofrad
Created: 2011-12-13 10:59:43+00:00
State: open

Hi, when installing gtk it fails when it gets to downloading the required patches.

```
Also installing dependencies: glib, gdk-pixbuf, pango, atk
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.7.tar.
File already downloaded in /Library/Caches/Homebrew
==> Downloading patches

curl: (22) The requested URL returned error: 404
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
/usr/bin/patch: **** Can't open patch file 001-homebrew.diff : No such file or directory
Error: Failure while executing: /usr/bin/patch -f -p0 -i 001-homebrew.diff
```

Checking the [formula for glib](https://github.com/mxcl/homebrew/blob/master/Library/Formula/glib.rb) (the dependancy it gets to before failing), it seems that the following patches are required:

```ruby
def patches
mp = "https://svn.macports.org/repository/macports/!svn/bc/87537/trunk/dports/devel/glib2/files/"
{
:p0 => [
mp+"patch-configure.diff",
mp+"patch-glib-2.0.pc.in.diff",
mp+"patch-glib_gunicollate.c.diff",
mp+"patch-gi18n.h.diff",
mp+"patch-gio_xdgmime_xdgmime.c.diff",
mp+"patch-gio_gdbusprivate.c.diff"
],
:p1 => [ DATA ]
}
end
```

However i checked the subversion repository it points to and they're all there..

Sorry for my ignorance as this is my first ticket / contribution, on any open source project!