[GRASS5] Unofficial Grass 5.0.2 for Debian Woody available
Glynn Clements
glynn.clements at virgin.net
Mon Jul 7 13:17:52 EDT 2003
Markus Neteler wrote:
> > Here there's the small fix I made to fix PNGdriver which didn't compile at once:
> > http://ezralabs.esaurito.net/repository/debian/grass/patch-Text2.c
> [...]
>
> Should we apply this patch?
>
> Markus
>
> --- src/display/devices/lib/Text2.c Fri Jun 20 17:40:24 2003
> +++ /home/c9/grass-4.99+5.0.0pre4/src/display/devices/lib/Text2.c Sat
> Feb 16 08:22:57 2002
> @@ -170,11 +170,9 @@
> double text_size_x,double text_size_y,double text_rotation,
> char *string)
> {
> -double sinrot,cosrot;
> - //double sinrot = sin (D2R (text_rotation)) ;
> - //double cosrot = cos (D2R (text_rotation)) ;
> - sinrot = sin (D2R (text_rotation)) ;
> - cosrot = cos (D2R (text_rotation)) ;
> + double sinrot = sin (D2R (text_rotation)) ;
> + double cosrot = cos (D2R (text_rotation)) ;
> +
> am_inside = 0 ;
> curx = basex = (double)x ;
> cury = basey = (double)y ;
No.
The code already looks like the patched version, so the above patch
won't apply. It's possible that the author reversed the patch; if that
is the case, the patch is bogus.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list