README for gimp-quinet-980323-0.patch 

Some plug-ins do not compile under Solaris if the GIMP is configured
with --enable-ansi, because the Solaris header files enforce strict
ANSI C ruless and do not define M_PI, M_PI_2, M_E and other symbols if
<math.h> is compiled in ANSI C mode.  The following files are
affected:
  plug-ins/libgck/gck/*.c
  plug-ins/gfig/gfig.c
  plug-ins/whirlpinch/whirlpinch.c

The files libgck/gck/gckcommon.h and whirlpinch/whirlpinch.c already
included a conditional definition for M_PI, but not for M_PI_2 which
is used in these plug-ins.  This patch adds the missing definitions
and allows these files to compile under Solaris 2.5.1 (with or without
--enable-ansi).

-Raphael
 
<quinet@gamers.org>
