mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 11:28:02 +02:00
Fix for bug #4401 as reported by Tim Mooney:
Don't bother checking for sincos function. Don't use sincos function since it is apparently buggy on some platforms, (Tru64 at least).
This commit is contained in:
parent
a1bca924b9
commit
b1a38efd34
3 changed files with 12 additions and 6 deletions
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
|||
2005-09-12 Carl Worth <cworth@cworth.org>
|
||||
|
||||
Fix for bug #4401 as reported by Tim Mooney:
|
||||
|
||||
* configure.in: Don't bother checking for sincos function.
|
||||
|
||||
* src/cairo-matrix.c: (cairo_matrix_init_rotate): Don't use sincos
|
||||
function since it is apparently buggy on some platforms, (Tru64 at
|
||||
least).
|
||||
|
||||
2005-09-09 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* ROADMAP: Add two bugs to the 1.0.2 roadmap:
|
||||
|
|
|
|||
|
|
@ -81,8 +81,6 @@ AC_CHECK_LIBM
|
|||
|
||||
LIBS="$LIBS $LIBM"
|
||||
|
||||
AC_CHECK_FUNCS(sincos)
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
AC_ARG_ENABLE(xlib,
|
||||
|
|
|
|||
|
|
@ -229,12 +229,10 @@ cairo_matrix_init_rotate (cairo_matrix_t *matrix,
|
|||
{
|
||||
double s;
|
||||
double c;
|
||||
#if HAVE_SINCOS
|
||||
sincos (radians, &s, &c);
|
||||
#else
|
||||
|
||||
s = sin (radians);
|
||||
c = cos (radians);
|
||||
#endif
|
||||
|
||||
cairo_matrix_init (matrix,
|
||||
c, s,
|
||||
-s, c,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue