ffmpeg: add optional openjpeg dep

Fixes #12802.
fuse4x-kext: Add bottle for Lion

Many Lion users only install the XCode command line tools which means they
cannot build the fuse4x kernel extension as it uses `xcodebuild`.

This formula is not bottled for Snow Leopard as the build and download times
are too trivial to justify the effort.

Fixes #10960.
colormake 0.9

Upgrade colormake to version 0.9.
Use `EOS.undent` to clean up the formatting.
Change the location of the perl file from `share` to `libexec`.
Tested on Lion with XCode-4.3.3 by compiling gawk using `colormake`
in place of the command `make`.

Closes #12815.
Closes #12828.

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

Upgrade opencore-amr to version 0.1.3.
Tested on Lion with clang and llvm-gcc from XCode-4.3.3.

Closes #12831.

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

Upgrade libvorbis to version 1.3.3.
Add the build time dep on `xz` because that's the only tarball.
Remove the unrecognized `--disable-debug` flag.
Tested on Lion with clang and llvm-gcc from XCode-4.3.3.

Closes #12833.

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

Upgrade mkvalidator to version 0.4.0.
Recreate the patch for the updated file, and don't modify the
`-mmacosx-version-min=10.6`.  There was no reason to affect
the weak linking.
Tested on Lion using clang and llvm-gcc from XCode-4.3.3.

Closes #12834.

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

Upgrade jags to version 3.2.0.
Remove the `chmod` command because the binary is already 755.
Tested on Lion with clang and llvm from XCode-4.3.3.

Closes #12835.

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

Upgrade Jansson to version 2.3.1.
Tested both universal on native on Lion with clang and llvm from
XCode-4.3.3.

Closes #12836.

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

Upgreade Jemalloc to version 3.0.0.
Compiles on Lion with clang and llvm from XCode-4.3.3.

Closes #12837.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
kelbt 0.15 final release

Upgrade kelbt to the final release of this software.
The developer is starting a new project called colm.
See the homepage for more details.
Add a `fails_with :clang` block due to undeclared identifiers.
Not going to bother reporting it.  Works well with llvm on Lion
from XCode-4.3.3.

Closes #12838.

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

Upgrade konoha to version 1.0.0-952.
Adapt the formula to the major changes that happened including:

* Add deps on cmake, pcre, json-c, open-mpi, and sqlite
* Use new homepage that is listed on the old homepage.
* Use the googlecode download site.

Tested on Lion with clang and llvm from XCode-4.3.3.

Closes #12839.

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

Closes #12821.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
mldonkey 3.1.2 & fix errors w/cpp and sed

Mldonkey-3.1.2 has compile errors due to their changes in arguments
to the cpp command and because Apple sed and gnu-sed do not have
a `-o` option.  The formula also has a failing inreplace.

Fix the failing inreplace by changing `-O6` to `-O3`.
Add a patch that uses the suggested change to `$(CPP)` from the
report on their website (url is in the formula comments).
Add a patch that changes `sed -o` to `sed >`.
Note in the comments the bug reports and how the patches are
not upstream as of 13 JUN 2012.  According to the Homebrew issue
listed below, the user reports these patches work well.

Fixes #12774

Closes #12825.

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

Closes #12820.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
lastfmlib: fails with clang

Fixes #12826.

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

Closes #12830.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
par2 fails to compile with clang
cowsay: new sha1

cowsay returns after a brief absence with a new hash.

Closes #12840.