aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnuplot.rb
diff options
context:
space:
mode:
authorDossy Shiobara2012-03-09 15:18:12 -0500
committerJack Nagel2012-03-11 11:24:17 -0500
commit83235bf1b6ce8f99073546ecf18cbd84ba72b222 (patch)
tree84c1f59e30d538b8c0fda42af41a31c3c7606861 /Library/Formula/gnuplot.rb
parentb2543eb6ed289ee3d368454d0336a00dfb8a497c (diff)
downloadhomebrew-83235bf1b6ce8f99073546ecf18cbd84ba72b222.tar.bz2
gearman: apply patch to fix configure
In gearman-0.28, configure.ac has some bad copypasta that ends up breaking the build on platforms that do not have librt, such as MacOS X. configure.ac -- 173 # Check for -lrt 174 AC_CHECK_LIB([rt], [clock_gettime], 175 [ 176 RT_LIB="-lrt" 177 AC_SUBST(RT_LIB) 178 AC_DEFINE([HAVE_LIBRT], [ 1 ], [Have clock_gettime]) 179 ], 180 [ 181 AC_DEFINE([HAVE_LIBRT], [ 0 ], [Have clock_gettime]) 182 ]) 183 184 # Check for -lm 185 AC_CHECK_LIB([m], [floor], 186 [ 187 M_LIB="-lrt" 188 AC_SUBST(M_LIB) 189 AC_DEFINE([HAVE_LIBRT], [ 1 ], [Have clock_gettime]) 190 ], 191 [ 192 AC_DEFINE([HAVE_LIBRT], [ 0 ], [Have clock_gettime]) 193 ]) As the comment on line 184 indicates, it's supposed to be checking for libm, not librt. This commit corrects this, which fixes issue #10222. Closes #10823. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/gnuplot.rb')
0 files changed, 0 insertions, 0 deletions