Use cc -E, not cpp -E. Fixes #15402.
Homebrew should not ignore curlrc

Added doctor check for .curlrc rather than silently ignoring it (#13836).

Closes #15419.

Signed-off-by: Max Howell <mxcl@me.com>

Removed test in doctor where it actually curl'd a file. It's enough to warn if the curlrc exists. I understand people want to remove the warnings, but the point in the doctor is to help diagnose and not to be some ramification of your UNIX system.
Specify where to get the CLT package
geomview: fix compile on 10.8

Closes #14436.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
debrew: formula debugging for homebrew

A new feature for easing the pain of working with complex formulas, or
formulas for large packages. When running brew in debug mode (-d), if an
exception propagates outside the formula's install method, you now get a menu
which lets you return to the point where the exception was raised and perfom
several useful actions, such as:
- printing a backtrace
- entering IRB to examine the context and test ruby code
- entering the debugger (if ruby-debug is available)
- entering a shell
- ignoring the exception or proceeding with the raise as normal

Signed-off-by: Max Howell <mxcl@me.com>

* Fixed conflict in build.rb.
* Removed old debug handling in Formula.brew.

Closes #10435.
formula: shorten path helpers
Subversion: use correct apr

Backported fix from serf formula.

Closes #14884.
pango, cairo: explicitly disable x libs when asked

Closes #15709.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
uwsgi: add universal pcre requirement

Closes #15715.
smpeg: enable gtk+ test and point to sdl

This enables non-/usr/local installs.
Fixes #15517.
CImg 1.5.2

Closes #15722.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
teapot 2.3.0

- Upgrade to 2.3.0
- Switch to cmake because it's the only build system now.
- Add a dep on cmake.
- Add `-DENABLE_HELP=OFF` so it doesn't require latex.
- It still installs some man pages.
- It has an fltk option that doesn't work due to HB fltk issues.
- Works with superenv on ML with XCode-4.5.1

Closes #15720.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
rsyslog 5.10.1

- Upgrade to rsyslog 5.10.1
- It's old, but newer ones, v6.x or 7.x, require linux & sysinfo.h
- Add an explicit dep on pkg-config
- Works with superenv

Closes #15719.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
scrotwm 0.9.34

- Upgrade to 0.9.34
- Add a required dep on x11. It's an X window manager.
- Works well with superenv

Closes #15718.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
scrub 2.5.2

- Upgrade to 2.5.2
- Add a patch to add <sys/types.h> otherwise missing symbols
- Add a patch to make a non-void function return a `0`
- Add comments for the patch linking the upstream bug report.
- Works with superenv on 10.8.2

Closes #15717.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
tophat 2.0.6

- Upgrade to 2.0.6
- Add a patch: intializes variable length arrays to 1 for clang.
- Patch stops a variable length array non-POD element type error.
- Patch reported upstream via email and noted in comments.
- Add an LDFLAG for `-lboost_system-mt` because autoconf doesn't.
- Add a dep on boost because the build requires it and samtools.
- Works with superenv on ML with XCode-4.5.1.

Closes #15716.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
brew-update: Guard non-directory files in Taps

Skip any entries returned by `Dir["Library/Taps/*"].each` that are not
directories.
tophat: fix whitespace in patch.

Fixes #15726.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
berkeley-db: make java opt-in

Rationale: java is an optional OS X component, so don't try to build
with Java by default.

Nothing in core uses the java components.

Closes #14411.
bogofilter: style nits