Skip to content

Instantly share code, notes, and snippets.

@errzey
Created October 27, 2015 23:07
Show Gist options
  • Save errzey/c581c647af7623c6d791 to your computer and use it in GitHub Desktop.
Save errzey/c581c647af7623c6d791 to your computer and use it in GitHub Desktop.
fixing brew for sidebar patch

The sidebar patch is no longer included in the brew recipe, which sucks.

You can grab the newest patches here: http://www.lunar-linux.org/mutt-sidebar/

Here is how to edit brew to apply the patch without errors:

  • brew edit mutt
  • add option "with-sidebar-patch", "Apply sidebar patch
  • add:
   patch do
      url "http://lunar-linux.org/~tchan/mutt/patch-1.5.24.sidebar.20150917.txt"
    end if build.with? "sidebar-patch"
  • remove current version of mutt
  • run brew install --with-s-lang --with-sidebar-patch

Also launchd is stupid, so I just used automater to create Applications/fetchmail.app

screen shot 2015-10-15 at 4 04 24 pm

you must export when creating the above

And have it automatically start when logging in

screen shot 2015-10-15 at 4 05 12 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment