Use the new patch DSL for this:
```
patch do
  url "https://gist.githubusercontent.com/sigma/11295734/raw/5a7f39d600fc20d7605d3c9e438257285700b32b/ssl_timeout.patch"
  sha1 ""
end
```

The sha1 for the patch can be found by adding it empty and then doing `brew fetch getmail`.