x264: Update to r2066

Also fix some patching.

Closes #7596.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
elb-tools: Fix MD5 hash

Closes #7607.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Updated Gecode library to latest version.

Closes #7605.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
lcdf-typetools: Update to 2.92

lcdf-typetools was updated to version 2.92 in the formula and
compiled on OSX 10.6.8 x86_64 using llvm 2335 from XCode 4.0.2.
The LCDF Typetools package contains several command-line programs for
manipulating PostScript Type 1 and PostScript-flavored OpenType fonts.

Closes #7603.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Glib: Configure without dtrace

Fixes build failures on Lion. See this MacPorts ticket for more info:

  https://trac.macports.org/ticket/30413

Fixes #7604.
Closes #7606.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
New formula: ntfs-3g

Closes #7585.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: apply patch to build on Lion with XCode4.

Emacs-Patch: Suppress address randomization on Darwin (Bug#8395).
  http://repo.or.cz/w/emacs.git/patch/f2cea124dffac9ca4b8ce1dbb9b746f8e81109a3

Emacs bug report:
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8395

Fixes #6953.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: Fix for the title bar issue on Lion

Closes #6518.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: Don't strip emacs binaries

Add binaries generated when "--cocoa" isn't enabled.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: Add linkapps to caveats

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: Works with LLVM >= 2335

Closes #7584.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: Fix X11 issue with libpng

Call `ENV.x11` when building `--with-x`.

Fixes #7260.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Emacs: Fix for Shift key for IME users

Based on http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/103384

Fixes #6032.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
mysql-connector-c: builds with LLVM >= 2335

The report was for 2336, but I can build it with 2335.

Closes #7439.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
New formula: MySQL++

MySQL++ is a C++ wrapper for the MySQL C API.  The maximum number of
columns allowable in a result set has been increased from 25 to 40 to
accommodate a wider range of projects without needing to recompile the
library.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
New formula: MySQL Connector/C++

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
formula_installer.rb: Call link before check_PATH

Otherwise, for formula that making the very first install into `sbin`, the
following line will fail with a critical error:

    bin = (HOMEBREW_PREFIX/bin.basename).realpath.to_s

Because `sbin` will not exist until after `link` runs.

This isn't very clean as it moves `check_PATH` away from the other checks in
`caveats`, but I couldn't think of a better hotfix that did not require a bit
of code shuffling and re-writing.
Reset to remote master when updating git clones

When installing with --HEAD, cached repo clones do "git fetch origin"
followed by "git reset --hard". This will only reset the working tree
and index to the state of the local HEAD, but Homebrew will think it's
updated and install anyway. "git reset --hard origin/master" will
achieve the desired result.

Should fix #7613.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>