jscoverage-0.5.1 has a file with hardcoded gcc and g++, named
configure.gnu. inreplace those with ENV.cc and ENV.cxx.
It also has three places in js/configure where the conftest uses
int main {
but also has two return commands. The first return command,
return;
does not return a value. The second one does `return 0;`.
This causes an error building with clang during configure
because `int main` should return a value. inline patch those
by removing the extra return command so that it does a `return 0;`
All four of these issues have been bug reported to their tracker,
and the formula comments include a link to the bug report. The
issues exist in HEAD. This now builds with all the compilers in
Lion and Snow Leopard, though no runtime tests were done as this
is unfamiliar software.
Fixes#11600.
Closes#11611.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The URL being constructed is only able to extract the correct username
when git@ or https:// URLs are found as the origin remote. This change
allows git:// to be used as well.
Signed-off-by: Maurice Kelly <osv-github@chatswood.org.uk>
Closes#11670.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Tests that expect Formula#path to resolve to a real path should use
TestBallWithRealPath; TestBall gets its original behavior back, fixing a
failing test in test_formula_install.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
bash completion from scala-dist is still at 2.9.1 but changelog
doesn't mention any parameter changes to scala or scalac.
Closes#11627.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade libffi to version 3.0.11. It passes make check when
built with any compiler from XCode-4.3.2 and 4.0.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
mp4v2 is used by easy-tag and cmus, but those require different
versions that are not API compatible.
Add a devel block for r479.
Add patches for stable committed in r472 inline. Patches fix
compile errors with clang, but are not available via direct url.
Stable works with easy-tag and can open .m4a files from iTunes.
Devel works with cmus and can play .m4a files from iTunes.
Compiles with all 5 compilers from XCode-4.3.2, 4.0.2 on Lion
and Snow Leopard. Main discussion was in #7998Closes#11275.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade Zile to version 2.4.7.
Add dep on gettext because configure wanted libintl.
Remove --man flag. It installs to share/man correctly.
Works on Lion and Snow Lep, XCode-4.3.2 and 4.0.2, all compilers.
Closes#11273.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* Upgrade swftools to version 0.9.2.
* Add a dep on ungif.
* Add a dep on fftw that is new to this version and used to speed up
resizing 2D images and increase their quality.
* Remove the optional qualifier on lame which had no effect.
* Remove the ENV.minimal_optimization, same reason, and it works.
* Remove the caveat about swfc segfaults on Snow Lep. It works.
* Add a patch for configure to fix a syntax error in a conftest for
fftw that was causing it to be considered not found. It now builds
and links all the binaries against libfftwf.dylib.
* The patch is merged in HEAD. Remove at 0.9.3. Noted in formula.
Tested on Lion and 64bit Snow Leopard with all five compilers from
XCode-4.3.2 and 4.0.2.
This would fix#11520
Signed-off-by: Adam Vandenberg <flangy@gmail.com>