aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cpptest.rb
diff options
context:
space:
mode:
authornibbles 2bits2012-04-12 19:26:29 -0700
committerJack Nagel2012-04-15 15:14:54 -0500
commit304e4fc2f7ea0896798567e5c9429022a4fb914f (patch)
tree1218962f5f0c0070eacef34b946631dd6f255bce /Library/Formula/cpptest.rb
parent8c74d425bab89f323560d0373ab69dcc3f4e6b82 (diff)
downloadhomebrew-304e4fc2f7ea0896798567e5c9429022a4fb914f.tar.bz2
jscoverage: fix configure errors with clang
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>
Diffstat (limited to 'Library/Formula/cpptest.rb')
0 files changed, 0 insertions, 0 deletions